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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 112 kB / 17.07 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 196 kB / 18.01 MB, free: 5.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 47.94 kB / 351.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3437, allocations: 49.43 MB / 400.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002826/0.3465, allocations: 1.514 MB / 402.2 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.3486, allocations: 0.8404 MB / 403.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.217e-05/0.3487, allocations: 0 / 403.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.3488, allocations: 15.86 kB / 403.1 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.991e-05/0.3489, allocations: 19.86 kB / 403.1 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.3492, allocations: 51.88 kB / 403.2 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.3495, allocations: 151.7 kB / 403.3 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.3496, allocations: 31.97 kB / 403.3 MB, free: 6.215 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004448/0.3501, allocations: 391.2 kB / 403.7 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.3502, allocations: 67.75 kB / 403.8 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.811e-05/0.3503, allocations: 8 kB / 403.8 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.792e-05/0.3503, allocations: 12 kB / 403.8 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.3504, allocations: 63.7 kB / 403.9 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.3505, allocations: 111.2 kB / 404 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.3509, allocations: 362.7 kB / 404.3 MB, free: 5.219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3509, allocations: 0 / 404.3 MB, free: 5.219 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3509, allocations: 0 / 404.3 MB, free: 5.219 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3509, allocations: 4 kB / 404.3 MB, free: 5.215 MB / 318.1 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.0007665/0.3517, allocations: 0.7315 MB / 405.1 MB, free: 4.414 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3517, allocations: 12.03 kB / 405.1 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.095e-05/0.3518, allocations: 32.56 kB / 405.1 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.3521, allocations: 274.3 kB / 405.4 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.3522, allocations: 4.375 kB / 405.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.3522, allocations: 8.375 kB / 405.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.3525, allocations: 121.9 kB / 405.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3525, allocations: 11.86 kB / 405.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.3525, allocations: 12 kB / 405.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3526, allocations: 4 kB / 405.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.3527, allocations: 51.97 kB / 405.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006286/0.3533, allocations: 464.5 kB / 406 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.3535, allocations: 94.48 kB / 406.1 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.3537, allocations: 84.89 kB / 406.2 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.3537, allocations: 4 kB / 406.2 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003486/0.3541, allocations: 202.7 kB / 406.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.3541, allocations: 0 / 406.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007967/0.3549, allocations: 470.3 kB / 406.9 MB, free: 2.441 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.762e-05/0.355, allocations: 170.2 kB / 407 MB, free: 2.238 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00059/0.3556, allocations: 0.513 MB / 407.6 MB, free: 1.711 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.3556, allocations: 29.7 kB / 407.6 MB, free: 1.676 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.3557, allocations: 105 kB / 407.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/0.3557, allocations: 27.7 kB / 407.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.3558, allocations: 85.41 kB / 407.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.356, allocations: 322.8 kB / 408.1 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.3561, allocations: 55.97 kB / 408.2 MB, free: 1.074 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.3563, allocations: 81.56 kB / 408.3 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.3566, allocations: 339.3 kB / 408.6 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3566, allocations: 0 / 408.6 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005173/0.3571, allocations: 380.2 kB / 409 MB, free: 204 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.529e-05/0.3572, allocations: 122.8 kB / 409.1 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3573, allocations: 112 / 409.1 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3573, allocations: 3.938 kB / 409.1 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.282e-05/0.3573, allocations: 3.984 kB / 409.1 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3573, allocations: 4 kB / 409.1 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.3574, allocations: 11.91 kB / 409.1 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.26e-05/0.3575, allocations: 48.08 kB / 409.1 MB, free: 15.98 MB / 334.1 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,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.yy,iNV3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003288/0.3579, allocations: 366.2 kB / 409.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/0.3579, allocations: 39.61 kB / 409.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.767e-05/0.358, allocations: 59.16 kB / 409.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.358, allocations: 4 kB / 409.6 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.358, allocations: 0 / 409.6 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.3581, allocations: 0 / 409.6 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009507/0.359, allocations: 0.8159 MB / 410.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.359, allocations: 4 kB / 410.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-06/0.359, allocations: 0 / 410.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.359, allocations: 0 / 410.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.3591, allocations: 15.98 kB / 410.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3591, allocations: 192 / 410.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.3591, allocations: 7.875 kB / 410.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000643/0.3597, allocations: 0.5329 MB / 411 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002901/0.36, allocations: 240.5 kB / 411.2 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.3601, allocations: 8 kB / 411.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.3602, allocations: 19.98 kB / 411.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.3604, allocations: 23.92 kB / 411.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.062e-05/0.3604, allocations: 43.98 kB / 411.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004538/0.3609, allocations: 386.9 kB / 411.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3609, allocations: 0 / 411.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.3612, allocations: 47.91 kB / 411.7 MB, free: 13.22 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001529/0.3613, allocations: 119 kB / 411.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000518/0.3619, allocations: 441.5 kB / 412.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3619, allocations: 0 / 412.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003316/0.3622, allocations: 373.5 kB / 412.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006139/0.3628, allocations: 135 kB / 412.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.3639, allocations: 0.646 MB / 413.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.3644, allocations: 0.8138 MB / 414.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.345e-05/0.3644, allocations: 16.62 kB / 414.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.3645, allocations: 11.44 kB / 414.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3645, allocations: 0 / 414.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of Templates: time 0.007764/0.3722, allocations: 4.505 MB / 418.8 MB, free: 6.031 MB / 334.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches