Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001417/0.001417, allocations: 180 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.4 MB / 223.1 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009848/0.0009848, allocations: 101 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00031/0.00031, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3597, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1212/0.481, allocations: 81.91 MB / 457.7 MB, free: 14.76 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/0.4813, allocations: 71.95 kB / 457.8 MB, free: 14.69 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05564/0.537, allocations: 27.87 MB / 485.7 MB, free: 2.879 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5371, allocations: 0 / 485.7 MB, free: 2.879 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.5371, allocations: 4 kB / 485.7 MB, free: 2.875 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.0007527/0.5378, allocations: 0.6761 MB / 486.3 MB, free: 2.125 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.5379, allocations: 12.03 kB / 486.4 MB, free: 2.113 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.003e-05/0.538, allocations: 31.62 kB / 486.4 MB, free: 2.082 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.5383, allocations: 269.4 kB / 486.7 MB, free: 1.781 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.5384, allocations: 4 kB / 486.7 MB, free: 1.777 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.5384, allocations: 8 kB / 486.7 MB, free: 1.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.5387, allocations: 153.5 kB / 486.8 MB, free: 1.613 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.5388, allocations: 0 / 486.8 MB, free: 1.613 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.5388, allocations: 8 kB / 486.8 MB, free: 1.605 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.5388, allocations: 3.938 kB / 486.8 MB, free: 1.602 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.539, allocations: 75.89 kB / 486.9 MB, free: 1.527 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007968/0.5398, allocations: 472.5 kB / 487.4 MB, free: 1.016 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.54, allocations: 102.5 kB / 487.5 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.54, allocations: 0 / 487.5 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003597/0.5404, allocations: 230.6 kB / 487.7 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.5404, allocations: 0 / 487.7 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009922/0.5414, allocations: 0.6621 MB / 488.3 MB, free: 15.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.5415, allocations: 166.2 kB / 488.5 MB, free: 15.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005712/0.5421, allocations: 464.5 kB / 489 MB, free: 15.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.5422, allocations: 29.7 kB / 489 MB, free: 15.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.094e-05/0.5423, allocations: 105.1 kB / 489.1 MB, free: 15.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.5423, allocations: 27.72 kB / 489.1 MB, free: 15.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.859e-05/0.5423, allocations: 0 / 489.1 MB, free: 15.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.5425, allocations: 322.8 kB / 489.4 MB, free: 14.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.5426, allocations: 67.95 kB / 489.5 MB, free: 14.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.5428, allocations: 85.47 kB / 489.6 MB, free: 14.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.543, allocations: 170.9 kB / 489.8 MB, free: 14.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.543, allocations: 0 / 489.8 MB, free: 14.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00059/0.5436, allocations: 432.1 kB / 490.2 MB, free: 13.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.955e-05/0.5437, allocations: 122.8 kB / 490.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.5437, allocations: 4 kB / 490.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.5437, allocations: 0 / 490.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.422e-05/0.5438, allocations: 4 kB / 490.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.5438, allocations: 3.938 kB / 490.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.5439, allocations: 19.92 kB / 490.3 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.5441, allocations: 123.8 kB / 490.4 MB, free: 13.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.iNV3S.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,$PRE.iNV3S.inertialDelaySensitive.x,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: 0 () * Number of clocked 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.0003546/0.5444, allocations: 362.3 kB / 490.8 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/0.5445, allocations: 43.48 kB / 490.8 MB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.5446, allocations: 67.14 kB / 490.9 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.5446, allocations: 4 kB / 490.9 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5446, allocations: 0 / 490.9 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5446, allocations: 0 / 490.9 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.5457, allocations: 0.8368 MB / 491.7 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.5457, allocations: 4 kB / 491.8 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.492e-06/0.5457, allocations: 3.938 kB / 491.8 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.5457, allocations: 4 kB / 491.8 MB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/0.5458, allocations: 23.98 kB / 491.8 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.5458, allocations: 3.984 kB / 491.8 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5458, allocations: 0 / 491.8 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007251/0.5465, allocations: 0.5568 MB / 492.3 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00042/0.5469, allocations: 256.4 kB / 492.6 MB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.805e-05/0.547, allocations: 15.94 kB / 492.6 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.5472, allocations: 15.98 kB / 492.6 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.5473, allocations: 35.95 kB / 492.7 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/0.5475, allocations: 115.9 kB / 492.8 MB, free: 11.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004593/0.5479, allocations: 382.9 kB / 493.1 MB, free: 10.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5479, allocations: 0 / 493.1 MB, free: 10.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003143/0.5483, allocations: 48 kB / 493.2 MB, free: 10.75 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) * Number of clocked states: 0 () * 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.0001545/0.5484, allocations: 119.1 kB / 493.3 MB, free: 10.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005702/0.549, allocations: 445.5 kB / 493.7 MB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.549, allocations: 8.062 kB / 493.8 MB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.5494, allocations: 385.5 kB / 494.1 MB, free: 9.711 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.5499, allocations: 104.7 kB / 494.2 MB, free: 9.609 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.5511, allocations: 0.7543 MB / 495 MB, free: 8.824 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004983/0.5517, allocations: 0.8024 MB / 495.8 MB, free: 7.996 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.891e-05/0.5517, allocations: 16.62 kB / 495.8 MB, free: 7.977 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.133e-05/0.5517, allocations: 7.438 kB / 495.8 MB, free: 7.969 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5518, allocations: 4 kB / 495.8 MB, free: 7.965 MB / 378.7 MB Notification: Performance of Templates: time 0.009009/0.5608, allocations: 5.75 MB / 0.4898 GB, free: 2.156 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches