Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 221.5 MB / 230.3 MB, free: 7.52 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000895/0.0008953, allocations: 92.42 kB / 281.2 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.542e-05/1.552e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09141/0.09144, allocations: 50.43 MB / 387.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3048/0.3963, allocations: 82.05 MB / 469.5 MB, free: 12.78 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001882/0.3965, allocations: 73.7 kB / 469.6 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05251/0.449, allocations: 28.26 MB / 497.9 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4491, allocations: 0 / 497.9 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.4491, allocations: 4 kB / 497.9 MB, free: 0.5938 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005827/0.4497, allocations: 0.6136 MB / 498.5 MB, free: 15.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.4497, allocations: 8.031 kB / 498.5 MB, free: 15.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.386e-05/0.4498, allocations: 39.58 kB / 498.5 MB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.4501, allocations: 263.6 kB / 498.8 MB, free: 15.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.4501, allocations: 8 kB / 498.8 MB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.4502, allocations: 4 kB / 498.8 MB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001358/0.4503, allocations: 55.98 kB / 498.8 MB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.4505, allocations: 141.6 kB / 499 MB, free: 15.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.4506, allocations: 0 / 499 MB, free: 15.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.4506, allocations: 11.94 kB / 499 MB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.4506, allocations: 3.953 kB / 499 MB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006416/0.4513, allocations: 449.1 kB / 499.4 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.4514, allocations: 90.56 kB / 499.5 MB, free: 14.76 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.4515, allocations: 88.89 kB / 499.6 MB, free: 14.67 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-06/0.4515, allocations: 0 / 499.6 MB, free: 14.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/0.4518, allocations: 226.6 kB / 499.8 MB, free: 14.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.4518, allocations: 0 / 499.8 MB, free: 14.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005197/0.4523, allocations: 317.3 kB / 0.4884 GB, free: 14.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.456e-05/0.4524, allocations: 166.2 kB / 0.4886 GB, free: 13.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004983/0.4529, allocations: 448.8 kB / 0.489 GB, free: 13.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.453, allocations: 33.7 kB / 0.489 GB, free: 13.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.453, allocations: 101.4 kB / 0.4891 GB, free: 13.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.4531, allocations: 27.66 kB / 0.4892 GB, free: 13.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.072e-05/0.4531, allocations: 0 / 0.4892 GB, free: 13.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.327e-05/0.4532, allocations: 322.8 kB / 0.4895 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.4533, allocations: 63.97 kB / 0.4895 GB, free: 12.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.259e-05/0.4534, allocations: 59.98 kB / 0.4896 GB, free: 12.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.183e-05/0.4535, allocations: 49.09 kB / 0.4896 GB, free: 12.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4535, allocations: 0 / 0.4896 GB, free: 12.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004147/0.4539, allocations: 289.3 kB / 0.4899 GB, free: 12.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.322e-05/0.454, allocations: 126.8 kB / 0.49 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.454, allocations: 0 / 0.49 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.454, allocations: 0 / 0.49 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.894e-05/0.4541, allocations: 7.938 kB / 0.49 GB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.4541, allocations: 7.891 kB / 0.49 GB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.4542, allocations: 11.98 kB / 0.4901 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.4543, allocations: 115.9 kB / 0.4902 GB, free: 12.23 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.4545, allocations: 245.5 kB / 0.4904 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.4546, allocations: 39.53 kB / 0.4904 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.4547, allocations: 71.41 kB / 0.4905 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.4547, allocations: 0 / 0.4905 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4547, allocations: 0 / 0.4905 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.4547, allocations: 11.94 kB / 0.4905 GB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007358/0.4554, allocations: 0.6824 MB / 0.4912 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.4555, allocations: 0 / 0.4912 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-06/0.4555, allocations: 4 kB / 0.4912 GB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4555, allocations: 4 kB / 0.4912 GB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/0.4555, allocations: 19.98 kB / 0.4912 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4555, allocations: 0 / 0.4912 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4555, allocations: 3.953 kB / 0.4912 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004924/0.456, allocations: 423 kB / 0.4916 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000288/0.4563, allocations: 268.3 kB / 0.4919 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.803e-05/0.4564, allocations: 8 kB / 0.4919 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.4565, allocations: 16 kB / 0.4919 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.4567, allocations: 31.95 kB / 0.4919 GB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.4568, allocations: 127.8 kB / 0.492 GB, free: 10.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003779/0.4571, allocations: 366.7 kB / 0.4924 GB, free: 9.828 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4572, allocations: 0 / 0.4924 GB, free: 9.828 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002768/0.4574, allocations: 44 kB / 0.4924 GB, free: 9.785 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001324/0.4576, allocations: 115 kB / 0.4925 GB, free: 9.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003995/0.458, allocations: 433.5 kB / 0.493 GB, free: 9.188 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.458, allocations: 4 kB / 0.493 GB, free: 9.184 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002664/0.4583, allocations: 377.5 kB / 0.4933 GB, free: 8.766 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.4588, allocations: 101.8 kB / 0.4934 GB, free: 8.668 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007795/0.4596, allocations: 0.5188 MB / 0.4939 GB, free: 8.125 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.46, allocations: 0.81 MB / 0.4947 GB, free: 7.289 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.431e-05/0.46, allocations: 12.66 kB / 0.4947 GB, free: 7.277 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.498e-05/0.46, allocations: 11.44 kB / 0.4947 GB, free: 7.266 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4601, allocations: 0 / 0.4947 GB, free: 7.266 MB / 378.7 MB Notification: Performance of Templates: time 0.007614/0.4677, allocations: 5.602 MB / 0.5002 GB, free: 1.617 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches