Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 183.1 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 225.7 MB / 243.2 MB, free: 8.473 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008243/0.0008245, allocations: 105.3 kB / 294.4 MB, free: 9.5 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002905/0.0002906, allocations: 7.938 kB / 354.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2539, allocations: 50.42 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001281/0.2552, allocations: 1.213 MB / 405.8 MB, free: 30.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.2566, allocations: 1.139 MB / 406.9 MB, free: 28.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.338e-05/0.2567, allocations: 4 kB / 406.9 MB, free: 28.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.757e-05/0.2568, allocations: 8.891 kB / 406.9 MB, free: 28.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.233e-05/0.2569, allocations: 7.938 kB / 406.9 MB, free: 28.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.2571, allocations: 48.42 kB / 407 MB, free: 28.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.2572, allocations: 109.6 kB / 407.1 MB, free: 28.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.919e-05/0.2573, allocations: 28.45 kB / 407.1 MB, free: 28.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003295/0.2576, allocations: 391.2 kB / 407.5 MB, free: 28.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.65e-05/0.2577, allocations: 61.27 kB / 407.6 MB, free: 28.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.2578, allocations: 4 kB / 407.6 MB, free: 28.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.715e-05/0.2578, allocations: 4 kB / 407.6 MB, free: 28.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.395e-05/0.2579, allocations: 63.64 kB / 407.6 MB, free: 28.17 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.986e-05/0.258, allocations: 130 kB / 407.8 MB, free: 28.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.2582, allocations: 346.6 kB / 408.1 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2583, allocations: 0 / 408.1 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2583, allocations: 1.031 kB / 408.1 MB, free: 27.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.2583, allocations: 0 / 408.1 MB, free: 27.7 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.0004593/0.2587, allocations: 0.6594 MB / 408.8 MB, free: 26.97 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.2588, allocations: 9 kB / 408.8 MB, free: 26.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.562e-05/0.2588, allocations: 40.47 kB / 408.8 MB, free: 26.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.2591, allocations: 274.3 kB / 409.1 MB, free: 26.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.2591, allocations: 9.25 kB / 409.1 MB, free: 26.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.2591, allocations: 8.375 kB / 409.1 MB, free: 26.6 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.2594, allocations: 133.8 kB / 409.2 MB, free: 26.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.2594, allocations: 3.984 kB / 409.2 MB, free: 26.46 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.2594, allocations: 4 kB / 409.2 MB, free: 26.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.2594, allocations: 0 / 409.2 MB, free: 26.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.2596, allocations: 55.97 kB / 409.3 MB, free: 26.4 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004912/0.2601, allocations: 468.5 kB / 409.7 MB, free: 25.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.2602, allocations: 90.55 kB / 409.8 MB, free: 25.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.2604, allocations: 76.89 kB / 409.9 MB, free: 25.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.2604, allocations: 4 kB / 409.9 MB, free: 25.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002622/0.2606, allocations: 210.7 kB / 410.1 MB, free: 25.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.2607, allocations: 0 / 410.1 MB, free: 25.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006131/0.2613, allocations: 468 kB / 410.6 MB, free: 24.99 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.2613, allocations: 166.2 kB / 410.7 MB, free: 24.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004475/0.2618, allocations: 0.5052 MB / 411.2 MB, free: 24.28 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.2618, allocations: 37.69 kB / 411.3 MB, free: 24.24 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.2619, allocations: 101 kB / 411.4 MB, free: 24.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.2619, allocations: 31.69 kB / 411.4 MB, free: 24.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.313e-05/0.2619, allocations: 4 kB / 411.4 MB, free: 24.1 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.627e-05/0.262, allocations: 330.8 kB / 411.7 MB, free: 23.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.2621, allocations: 55.97 kB / 411.8 MB, free: 23.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.2622, allocations: 69.69 kB / 411.9 MB, free: 23.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.2624, allocations: 339.2 kB / 412.2 MB, free: 23.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2625, allocations: 0 / 412.2 MB, free: 23.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000382/0.2628, allocations: 380.7 kB / 412.6 MB, free: 22.85 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.81e-05/0.2629, allocations: 126.8 kB / 412.7 MB, free: 22.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2629, allocations: 4.016 kB / 412.7 MB, free: 22.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.2629, allocations: 8.031 kB / 412.7 MB, free: 22.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.994e-05/0.263, allocations: 3.938 kB / 412.7 MB, free: 22.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.263, allocations: 3.984 kB / 412.7 MB, free: 22.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.2631, allocations: 23.83 kB / 412.7 MB, free: 22.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.2632, allocations: 36 kB / 412.8 MB, free: 22.62 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.0002278/0.2634, allocations: 366.2 kB / 413.1 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.2634, allocations: 39.56 kB / 413.2 MB, free: 22.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.383e-05/0.2635, allocations: 67.14 kB / 413.2 MB, free: 22.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.2635, allocations: 4 kB / 413.2 MB, free: 22.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2635, allocations: 4 kB / 413.2 MB, free: 22.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2636, allocations: 0 / 413.2 MB, free: 22.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006858/0.2642, allocations: 0.8096 MB / 414 MB, free: 21.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2643, allocations: 4 kB / 414 MB, free: 21.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-06/0.2643, allocations: 0 / 414 MB, free: 21.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2643, allocations: 0 / 414 MB, free: 21.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.2643, allocations: 11.98 kB / 414.1 MB, free: 21.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2643, allocations: 4 kB / 414.1 MB, free: 21.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2643, allocations: 3.938 kB / 414.1 MB, free: 21.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004474/0.2648, allocations: 0.5328 MB / 414.6 MB, free: 20.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.265, allocations: 240.4 kB / 414.8 MB, free: 20.37 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/0.265, allocations: 12 kB / 414.8 MB, free: 20.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.2652, allocations: 11.98 kB / 414.9 MB, free: 20.35 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.17e-05/0.2653, allocations: 27.92 kB / 414.9 MB, free: 20.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.709e-05/0.2653, allocations: 43.92 kB / 414.9 MB, free: 20.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003221/0.2656, allocations: 390.8 kB / 415.3 MB, free: 19.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2656, allocations: 4 kB / 415.3 MB, free: 19.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002356/0.2659, allocations: 44 kB / 415.4 MB, free: 19.85 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.0001049/0.266, allocations: 127 kB / 415.5 MB, free: 19.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003731/0.2664, allocations: 433.5 kB / 415.9 MB, free: 19.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.2664, allocations: 4 kB / 415.9 MB, free: 19.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.2666, allocations: 373.5 kB / 416.3 MB, free: 18.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/0.2671, allocations: 118.3 kB / 416.4 MB, free: 18.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008344/0.268, allocations: 0.7583 MB / 417.1 MB, free: 17.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.2682, allocations: 0.7986 MB / 417.9 MB, free: 17.1 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.358e-05/0.2682, allocations: 12.66 kB / 418 MB, free: 17.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.489e-05/0.2683, allocations: 7.438 kB / 418 MB, free: 17.08 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2683, allocations: 0 / 418 MB, free: 17.08 MB / 298.7 MB Notification: Performance of Templates: time 0.00507/0.2734, allocations: 3.976 MB / 421.9 MB, free: 13.1 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/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