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.001241/0.001241, allocations: 182.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.654/1.654, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 99.06 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008808/0.0008814, allocations: 43.94 kB / 350 MB, free: 80 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3604, allocations: 49.44 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002748/0.3632, allocations: 1.574 MB / 401 MB, free: 31.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.3651, allocations: 0.8744 MB / 401.9 MB, free: 30.94 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.771e-05/0.3651, allocations: 0 / 401.9 MB, free: 30.94 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.3653, allocations: 7.922 kB / 401.9 MB, free: 30.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.395e-05/0.3654, allocations: 15.92 kB / 401.9 MB, free: 30.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.3657, allocations: 43.91 kB / 402 MB, free: 30.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.3658, allocations: 119.7 kB / 402.1 MB, free: 30.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.3659, allocations: 19.98 kB / 402.1 MB, free: 30.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003708/0.3663, allocations: 383.2 kB / 402.5 MB, free: 30.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.694e-05/0.3664, allocations: 63.75 kB / 402.6 MB, free: 30.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.232e-05/0.3665, allocations: 4 kB / 402.6 MB, free: 30.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.107e-05/0.3665, allocations: 4 kB / 402.6 MB, free: 30.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.059e-05/0.3666, allocations: 67.7 kB / 402.6 MB, free: 30.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.3667, allocations: 111.2 kB / 402.7 MB, free: 30.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.367, allocations: 346.8 kB / 403.1 MB, free: 29.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.367, allocations: 3.984 kB / 403.1 MB, free: 29.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.367, allocations: 11.94 kB / 403.1 MB, free: 29.76 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.367, allocations: 0 / 403.1 MB, free: 29.76 MB / 298.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.0007395/0.3678, allocations: 0.7203 MB / 403.8 MB, free: 28.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.3678, allocations: 8.031 kB / 403.8 MB, free: 28.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.897e-05/0.3679, allocations: 40.47 kB / 403.9 MB, free: 28.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.3682, allocations: 266.3 kB / 404.1 MB, free: 28.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.3682, allocations: 12.31 kB / 404.1 MB, free: 28.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.3683, allocations: 8.375 kB / 404.1 MB, free: 28.6 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.3685, allocations: 133.9 kB / 404.3 MB, free: 28.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3686, allocations: 3.938 kB / 404.3 MB, free: 28.46 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.3686, allocations: 4 kB / 404.3 MB, free: 28.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.3686, allocations: 0 / 404.3 MB, free: 28.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.3687, allocations: 59.95 kB / 404.3 MB, free: 28.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006758/0.3694, allocations: 456.5 kB / 404.8 MB, free: 27.9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.3696, allocations: 98.53 kB / 404.9 MB, free: 27.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.3698, allocations: 76.89 kB / 405 MB, free: 27.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.3698, allocations: 4 kB / 405 MB, free: 27.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003697/0.3702, allocations: 206.6 kB / 405.2 MB, free: 27.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.3702, allocations: 3.938 kB / 405.2 MB, free: 27.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006891/0.3709, allocations: 465.2 kB / 405.6 MB, free: 27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/0.371, allocations: 170.2 kB / 405.8 MB, free: 26.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005147/0.3715, allocations: 0.5129 MB / 406.3 MB, free: 26.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.3715, allocations: 33.7 kB / 406.3 MB, free: 26.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.3716, allocations: 97.12 kB / 406.4 MB, free: 26.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.3716, allocations: 27.66 kB / 406.5 MB, free: 26.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.965e-05/0.3717, allocations: 81.41 kB / 406.5 MB, free: 26.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.296e-05/0.3718, allocations: 330.8 kB / 406.9 MB, free: 25.69 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.3719, allocations: 51.97 kB / 406.9 MB, free: 25.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.372, allocations: 82.38 kB / 407 MB, free: 25.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.3723, allocations: 336.4 kB / 407.3 MB, free: 25.17 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3723, allocations: 0 / 407.3 MB, free: 25.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003957/0.3727, allocations: 384.2 kB / 407.7 MB, free: 24.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.779e-05/0.3727, allocations: 126.8 kB / 407.8 MB, free: 24.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3728, allocations: 0 / 407.8 MB, free: 24.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3728, allocations: 3.984 kB / 407.8 MB, free: 24.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.386e-05/0.3728, allocations: 8.031 kB / 407.8 MB, free: 24.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3728, allocations: 0 / 407.8 MB, free: 24.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.373, allocations: 15.92 kB / 407.8 MB, free: 24.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/0.373, allocations: 40 kB / 407.9 MB, free: 24.55 MB / 298.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,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.0002675/0.3733, allocations: 370.3 kB / 408.2 MB, free: 24.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.3733, allocations: 35.73 kB / 408.3 MB, free: 24.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.277e-05/0.3734, allocations: 71.08 kB / 408.3 MB, free: 24.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3735, allocations: 3.938 kB / 408.3 MB, free: 24.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3735, allocations: 4 kB / 408.4 MB, free: 24.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3735, allocations: 0 / 408.4 MB, free: 24.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007847/0.3743, allocations: 0.8164 MB / 409.2 MB, free: 23.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3743, allocations: 0 / 409.2 MB, free: 23.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.718e-06/0.3743, allocations: 0 / 409.2 MB, free: 23.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.3743, allocations: 4 kB / 409.2 MB, free: 23.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.3743, allocations: 11.98 kB / 409.2 MB, free: 23.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3743, allocations: 0 / 409.2 MB, free: 23.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3743, allocations: 7.875 kB / 409.2 MB, free: 23.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007707/0.3751, allocations: 1.195 MB / 410.4 MB, free: 21.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000267/0.3754, allocations: 248.3 kB / 410.6 MB, free: 21.58 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.798e-05/0.3755, allocations: 11.98 kB / 410.6 MB, free: 21.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.3756, allocations: 12 kB / 410.7 MB, free: 21.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.3758, allocations: 19.97 kB / 410.7 MB, free: 21.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.515e-05/0.3758, allocations: 47.94 kB / 410.7 MB, free: 21.49 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003907/0.3762, allocations: 394.9 kB / 411.1 MB, free: 21.1 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3762, allocations: 0 / 411.1 MB, free: 21.1 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000371/0.3766, allocations: 40 kB / 411.1 MB, free: 21.06 MB / 298.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 (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.0001471/0.3767, allocations: 115 kB / 411.3 MB, free: 20.94 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004103/0.3772, allocations: 437.5 kB / 411.7 MB, free: 20.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3772, allocations: 0 / 411.7 MB, free: 20.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.3774, allocations: 377.8 kB / 412.1 MB, free: 20.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005978/0.3781, allocations: 118.2 kB / 412.2 MB, free: 19.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.3792, allocations: 0.9003 MB / 413.1 MB, free: 18.99 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.3796, allocations: 0.8063 MB / 413.9 MB, free: 18.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.285e-05/0.3797, allocations: 12.64 kB / 413.9 MB, free: 18.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.345e-05/0.3797, allocations: 11.44 kB / 413.9 MB, free: 18.13 MB / 298.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3797, allocations: 0 / 413.9 MB, free: 18.13 MB / 298.7 MB Notification: Performance of Templates: time 0.006897/0.3866, allocations: 4.355 MB / 418.3 MB, free: 13.77 MB / 298.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@2/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