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.001146/0.001146, allocations: 111.8 kB / 17.06 MB, free: 6 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.001205/0.001205, allocations: 190.9 kB / 18 MB, free: 5.082 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.393/1.393, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 43.92 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3524, allocations: 49.43 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002898/0.3553, allocations: 1.517 MB / 402.2 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.3573, allocations: 0.8481 MB / 403.1 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.336e-05/0.3574, allocations: 0 / 403.1 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.3575, allocations: 3.938 kB / 403.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.898e-05/0.3576, allocations: 27.78 kB / 403.1 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.3579, allocations: 47.89 kB / 403.2 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.3581, allocations: 159.7 kB / 403.3 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3583, allocations: 27.95 kB / 403.3 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004672/0.3587, allocations: 391.3 kB / 403.7 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.3589, allocations: 63.77 kB / 403.8 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.084e-05/0.3589, allocations: 8 kB / 403.8 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.779e-05/0.359, allocations: 16 kB / 403.8 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.3591, allocations: 67.69 kB / 403.9 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.3592, allocations: 115.2 kB / 404 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003851/0.3596, allocations: 362.7 kB / 404.3 MB, free: 5.219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3596, allocations: 0 / 404.3 MB, free: 5.219 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3596, allocations: 0 / 404.3 MB, free: 5.219 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.3597, allocations: 0 / 404.3 MB, free: 5.219 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.0007863/0.3605, allocations: 0.7199 MB / 405.1 MB, free: 4.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3605, allocations: 15.89 kB / 405.1 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.998e-05/0.3606, allocations: 32.56 kB / 405.1 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.3609, allocations: 286.2 kB / 405.4 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.3609, allocations: 4.375 kB / 405.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.361, allocations: 8.375 kB / 405.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/0.3613, allocations: 133.9 kB / 405.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.3613, allocations: 0 / 405.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.3613, allocations: 4 kB / 405.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3614, allocations: 0 / 405.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.3615, allocations: 55.97 kB / 405.6 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006551/0.3622, allocations: 464.4 kB / 406 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.3624, allocations: 98.55 kB / 406.1 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.3625, allocations: 76.89 kB / 406.2 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.3626, allocations: 4 kB / 406.2 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003787/0.3629, allocations: 210.6 kB / 406.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.363, allocations: 4 kB / 406.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008071/0.3638, allocations: 468 kB / 406.9 MB, free: 2.441 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.3639, allocations: 166.2 kB / 407.1 MB, free: 2.242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006284/0.3645, allocations: 0.513 MB / 407.6 MB, free: 1.715 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.3646, allocations: 29.7 kB / 407.6 MB, free: 1.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.559e-05/0.3646, allocations: 109 kB / 407.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.3647, allocations: 23.72 kB / 407.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.3648, allocations: 81.41 kB / 407.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.365, allocations: 330.8 kB / 408.1 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.3651, allocations: 55.97 kB / 408.2 MB, free: 1.074 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.3652, allocations: 77 kB / 408.3 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003587/0.3656, allocations: 349.3 kB / 408.6 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3656, allocations: 0 / 408.6 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005156/0.3661, allocations: 368.3 kB / 409 MB, free: 216 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.782e-05/0.3663, allocations: 122.8 kB / 409.1 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3663, allocations: 4.031 kB / 409.1 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3663, allocations: 3.984 kB / 409.1 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.72e-05/0.3663, allocations: 8 kB / 409.1 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.3663, allocations: 3.938 kB / 409.1 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.3665, allocations: 11.91 kB / 409.1 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-05/0.3666, allocations: 48.03 kB / 409.2 MB, free: 15.99 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.0003629/0.3669, allocations: 358.2 kB / 409.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.367, allocations: 35.62 kB / 409.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.3671, allocations: 75.14 kB / 409.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3671, allocations: 0 / 409.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.3671, allocations: 0 / 409.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3671, allocations: 3.938 kB / 409.6 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009623/0.3681, allocations: 0.8113 MB / 410.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3681, allocations: 0 / 410.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.815e-06/0.3681, allocations: 3.984 kB / 410.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3681, allocations: 0 / 410.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-05/0.3682, allocations: 19.98 kB / 410.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3682, allocations: 0 / 410.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3682, allocations: 7.938 kB / 410.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000672/0.3689, allocations: 0.5213 MB / 411 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003083/0.3692, allocations: 240.5 kB / 411.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/0.3693, allocations: 8.25 kB / 411.2 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.3694, allocations: 15.98 kB / 411.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.498e-05/0.3695, allocations: 31.91 kB / 411.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.962e-05/0.3696, allocations: 40 kB / 411.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004787/0.3701, allocations: 386.9 kB / 411.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3701, allocations: 4 kB / 411.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002972/0.3704, allocations: 47.91 kB / 411.7 MB, free: 13.23 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.0001592/0.3705, allocations: 122.9 kB / 411.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005532/0.3711, allocations: 429.5 kB / 412.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3711, allocations: 0 / 412.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003523/0.3715, allocations: 381.5 kB / 412.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006391/0.3721, allocations: 120.9 kB / 412.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.3733, allocations: 0.6499 MB / 413.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.3738, allocations: 0.8059 MB / 414.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.424e-05/0.3739, allocations: 12.64 kB / 414.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.157e-05/0.3739, allocations: 15.38 kB / 414.3 MB, free: 10.56 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3739, allocations: 0 / 414.3 MB, free: 10.56 MB / 334.1 MB Notification: Performance of Templates: time 0.007702/0.3816, allocations: 4.534 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