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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 175.6 kB / 8.479 MB, free: 1.883 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.24/1.24, allocations: 205.2 MB / 214.1 MB, free: 5.441 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008785/0.0008785, allocations: 87.38 kB / 262.1 MB, free: 5.5 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.687e-06/8.717e-06, allocations: 0 / 315 MB, free: 41.53 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07283/0.07286, allocations: 47.58 MB / 362.5 MB, free: 9.988 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2317/0.3046, allocations: 81.08 MB / 443.6 MB, free: 10.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/0.3049, allocations: 70.44 kB / 443.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.04658/0.3515, allocations: 27.28 MB / 471 MB, free: 2.883 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.3515, allocations: 4.25 kB / 471 MB, free: 2.883 MB / 314.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.0004324/0.352, allocations: 0.6109 MB / 471.6 MB, free: 2.285 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.352, allocations: 8.031 kB / 471.6 MB, free: 2.285 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.092e-05/0.3521, allocations: 34.84 kB / 471.6 MB, free: 2.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.3524, allocations: 267.3 kB / 471.9 MB, free: 2.027 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.3524, allocations: 4.344 kB / 471.9 MB, free: 2.027 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.779e-05/0.3525, allocations: 15.42 kB / 471.9 MB, free: 2.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001357/0.3526, allocations: 56.33 kB / 472 MB, free: 2.016 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.3528, allocations: 140.1 kB / 472.1 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.3528, allocations: 0 / 472.1 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.88e-05/0.3529, allocations: 3.781 kB / 472.1 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3529, allocations: 0 / 472.1 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000652/0.3535, allocations: 474.7 kB / 472.6 MB, free: 1.625 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.3537, allocations: 97.02 kB / 472.7 MB, free: 1.594 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.3538, allocations: 90.45 kB / 472.7 MB, free: 1.574 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.3538, allocations: 0.5938 kB / 472.7 MB, free: 1.574 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.354, allocations: 206 kB / 472.9 MB, free: 1.426 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.354, allocations: 0.75 kB / 473 MB, free: 1.426 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003556/0.3544, allocations: 229.6 kB / 473.2 MB, free: 1.262 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.3544, allocations: 165.7 kB / 473.3 MB, free: 1.066 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003874/0.3548, allocations: 443.1 kB / 473.8 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.3549, allocations: 33.64 kB / 473.8 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.608e-05/0.3549, allocations: 92.5 kB / 473.9 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.3549, allocations: 37.73 kB / 473.9 MB, free: 0.543 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.192e-05/0.355, allocations: 0 / 473.9 MB, free: 0.543 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.003e-05/0.355, allocations: 326.2 kB / 474.2 MB, free: 224 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.965e-05/0.3551, allocations: 64.42 kB / 474.3 MB, free: 180 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.13e-05/0.3552, allocations: 56.73 kB / 474.4 MB, free: 140 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.356e-05/0.3553, allocations: 63.89 kB / 474.4 MB, free: 92 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3553, allocations: 0 / 474.4 MB, free: 92 kB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003053/0.3556, allocations: 192.7 kB / 474.6 MB, free: 15.92 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3556, allocations: 9.719 kB / 474.6 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3557, allocations: 0 / 474.6 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3557, allocations: 3.906 kB / 474.6 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.849e-05/0.3557, allocations: 3.984 kB / 474.6 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.3557, allocations: 0 / 474.6 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.3559, allocations: 19.94 kB / 474.7 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.356, allocations: 119.7 kB / 474.8 MB, free: 15.77 MB / 330.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.0002005/0.3562, allocations: 244.2 kB / 475 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.349e-05/0.3563, allocations: 39.53 kB / 475 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.3564, allocations: 65.98 kB / 475.1 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.3564, allocations: 0 / 475.1 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3564, allocations: 0 / 475.1 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.3564, allocations: 0 / 475.1 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007086/0.3571, allocations: 0.5978 MB / 475.7 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3572, allocations: 0 / 475.7 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.616e-06/0.3572, allocations: 4 kB / 475.7 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3572, allocations: 3.938 kB / 475.7 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/0.3572, allocations: 24.11 kB / 475.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3572, allocations: 0 / 475.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3572, allocations: 0 / 475.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004077/0.3576, allocations: 339.5 kB / 476.1 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003431/0.358, allocations: 262 kB / 476.3 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.212e-05/0.3581, allocations: 11.31 kB / 476.3 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.3583, allocations: 15.98 kB / 476.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.3584, allocations: 33.67 kB / 476.4 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.3585, allocations: 123.6 kB / 476.5 MB, free: 14.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0003837/0.3589, allocations: 360.8 kB / 476.9 MB, free: 13.81 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002959/0.3592, allocations: 36 kB / 476.9 MB, free: 13.78 MB / 330.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.0001656/0.3594, allocations: 122.4 kB / 477 MB, free: 13.65 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003802/0.3598, allocations: 270.4 kB / 477.3 MB, free: 13.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3598, allocations: 0 / 477.3 MB, free: 13.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002597/0.36, allocations: 271.9 kB / 477.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.3606, allocations: 103.8 kB / 477.6 MB, free: 13.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009456/0.3615, allocations: 0.522 MB / 478.2 MB, free: 12.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004734/0.362, allocations: 0.8282 MB / 479 MB, free: 11.78 MB / 330.7 MB Notification: Performance of SimCode: time 3.01e-07/0.362, allocations: 0 / 479 MB, free: 11.78 MB / 330.7 MB Notification: Performance of Templates: time 0.008167/0.3702, allocations: 5.575 MB / 484.6 MB, free: 6.164 MB / 330.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