Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001466/0.001466, allocations: 174.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.853/1.853, allocations: 205.6 MB / 223.7 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000755/0.000755, allocations: 98.41 kB / 272.1 MB, free: 8.113 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003646, allocations: 8 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3542, allocations: 47.57 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.00215/0.3564, allocations: 1.21 MB / 377.8 MB, free: 44.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.3588, allocations: 1.187 MB / 379 MB, free: 43.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.706e-05/0.3589, allocations: 1.438 kB / 379 MB, free: 43.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.3591, allocations: 5.438 kB / 379 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.525e-05/0.3592, allocations: 10.83 kB / 379 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.3595, allocations: 52.08 kB / 379.1 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.3597, allocations: 116.2 kB / 379.2 MB, free: 43.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.3598, allocations: 18.02 kB / 379.2 MB, free: 43.47 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006501/0.3605, allocations: 381.5 kB / 379.6 MB, free: 43.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.3606, allocations: 63.73 kB / 379.6 MB, free: 43.29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.181e-05/0.3607, allocations: 2.75 kB / 379.6 MB, free: 43.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.29e-05/0.3608, allocations: 4 kB / 379.6 MB, free: 43.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.3609, allocations: 69.64 kB / 379.7 MB, free: 43.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.361, allocations: 133.4 kB / 379.8 MB, free: 43.13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003369/0.3614, allocations: 348.1 kB / 380.2 MB, free: 42.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3614, allocations: 0 / 380.2 MB, free: 42.87 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3614, allocations: 0 / 380.2 MB, free: 42.87 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.3614, allocations: 1.188 kB / 380.2 MB, free: 42.87 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.0006391/0.3621, allocations: 0.6548 MB / 380.8 MB, free: 42.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.3621, allocations: 8.531 kB / 380.8 MB, free: 42.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.589e-05/0.3622, allocations: 35.06 kB / 380.9 MB, free: 42.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.3625, allocations: 280.9 kB / 381.1 MB, free: 41.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.3625, allocations: 5.844 kB / 381.2 MB, free: 41.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.3626, allocations: 16.14 kB / 381.2 MB, free: 41.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.3629, allocations: 126.3 kB / 381.3 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.363, allocations: 1.094 kB / 381.3 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.363, allocations: 3.375 kB / 381.3 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.363, allocations: 1.125 kB / 381.3 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.3632, allocations: 59.58 kB / 381.4 MB, free: 41.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006738/0.3638, allocations: 466.5 kB / 381.8 MB, free: 41.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.3641, allocations: 95.05 kB / 381.9 MB, free: 41.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.3642, allocations: 79.2 kB / 382 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.3642, allocations: 1.5 kB / 382 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000383/0.3646, allocations: 208 kB / 382.2 MB, free: 41.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.3646, allocations: 0 / 382.2 MB, free: 41.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009055/0.3656, allocations: 469.3 kB / 382.6 MB, free: 40.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.918e-05/0.3656, allocations: 169.1 kB / 382.8 MB, free: 40.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007372/0.3664, allocations: 0.5135 MB / 383.3 MB, free: 40.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.3664, allocations: 29.64 kB / 383.3 MB, free: 40.24 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.582e-05/0.3665, allocations: 109.3 kB / 383.5 MB, free: 40.13 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.3666, allocations: 26.33 kB / 383.5 MB, free: 40.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.655e-05/0.3666, allocations: 7.281 kB / 383.5 MB, free: 40.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.592e-05/0.3667, allocations: 326 kB / 383.8 MB, free: 39.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.3668, allocations: 62.5 kB / 383.9 MB, free: 39.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.367, allocations: 71.3 kB / 383.9 MB, free: 39.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.3673, allocations: 342.1 kB / 384.3 MB, free: 39.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3674, allocations: 0 / 384.3 MB, free: 39.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005399/0.3679, allocations: 368.8 kB / 384.6 MB, free: 39.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.781e-05/0.368, allocations: 137.2 kB / 384.8 MB, free: 39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.368, allocations: 1.062 kB / 384.8 MB, free: 39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.368, allocations: 1.438 kB / 384.8 MB, free: 39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.747e-05/0.3681, allocations: 5.094 kB / 384.8 MB, free: 38.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3681, allocations: 1.406 kB / 384.8 MB, free: 38.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.3683, allocations: 14.33 kB / 384.8 MB, free: 38.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.684e-05/0.3684, allocations: 38.47 kB / 384.8 MB, free: 38.99 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,$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003581/0.3688, allocations: 365.5 kB / 385.2 MB, free: 38.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/0.3688, allocations: 43.62 kB / 385.2 MB, free: 38.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.3689, allocations: 63.66 kB / 385.3 MB, free: 38.6 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.369, allocations: 5.297 kB / 385.3 MB, free: 38.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.369, allocations: 0 / 385.3 MB, free: 38.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.369, allocations: 128 / 385.3 MB, free: 38.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000988/0.37, allocations: 0.8098 MB / 386.1 MB, free: 37.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.37, allocations: 0 / 386.1 MB, free: 37.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.939e-06/0.37, allocations: 0 / 386.1 MB, free: 37.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.37, allocations: 1.406 kB / 386.1 MB, free: 37.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/0.37, allocations: 20.92 kB / 386.1 MB, free: 37.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3701, allocations: 1.75 kB / 386.1 MB, free: 37.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3701, allocations: 3.938 kB / 386.1 MB, free: 37.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006844/0.3708, allocations: 0.5183 MB / 386.6 MB, free: 37.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003039/0.3711, allocations: 249 kB / 386.9 MB, free: 37.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.912e-05/0.3711, allocations: 15.06 kB / 386.9 MB, free: 37.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.3713, allocations: 14.09 kB / 386.9 MB, free: 37.31 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.3714, allocations: 38.05 kB / 387 MB, free: 37.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.471e-05/0.3715, allocations: 45.45 kB / 387 MB, free: 37.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005749/0.3721, allocations: 383.2 kB / 387.4 MB, free: 37.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3721, allocations: 3.938 kB / 387.4 MB, free: 37.03 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002792/0.3724, allocations: 49.12 kB / 387.4 MB, free: 36.98 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.0001452/0.3726, allocations: 115 kB / 387.5 MB, free: 36.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004776/0.373, allocations: 433.5 kB / 388 MB, free: 36.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3731, allocations: 4.062 kB / 388 MB, free: 36.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.3733, allocations: 377.5 kB / 388.3 MB, free: 35.97 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005764/0.3739, allocations: 110.7 kB / 388.4 MB, free: 35.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.3749, allocations: 0.7628 MB / 389.2 MB, free: 35.08 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.3752, allocations: 0.8024 MB / 390 MB, free: 34.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.502e-05/0.3753, allocations: 8.656 kB / 390 MB, free: 34.24 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.412e-05/0.3753, allocations: 11.44 kB / 390 MB, free: 34.23 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3753, allocations: 4 kB / 390 MB, free: 34.22 MB / 298.7 MB Notification: Performance of Templates: time 0.006268/0.3816, allocations: 3.986 MB / 394 MB, free: 30.23 MB / 298.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