Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000856/0.000856, allocations: 182.6 kB / 16.08 MB, free: 5.523 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.366/1.366, allocations: 205.6 MB / 222.4 MB, free: 13.65 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.000705/0.000705, allocations: 98.17 kB / 270.8 MB, free: 13.16 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.174/0.174, allocations: 43.68 MB / 362.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002696/0.0002696, allocations: 8 kB / 432.3 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08591/0.08619, allocations: 58.86 MB / 491.2 MB, free: 8.129 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.001802/0.08803, allocations: 1.314 MB / 492.5 MB, free: 6.797 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007811/0.08883, allocations: 0.5623 MB / 493 MB, free: 6.227 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.08891, allocations: 0 / 493 MB, free: 6.227 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 9.024e-05/0.08901, allocations: 7.875 kB / 493 MB, free: 6.219 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 4.192e-05/0.08906, allocations: 11.92 kB / 493.1 MB, free: 6.207 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.08935, allocations: 75.84 kB / 493.1 MB, free: 6.133 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.0895, allocations: 103.8 kB / 493.2 MB, free: 6.031 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.08961, allocations: 40.17 kB / 493.3 MB, free: 5.992 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.087e-05/0.08968, allocations: 39.8 kB / 493.3 MB, free: 5.953 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.852e-05/0.08974, allocations: 31.84 kB / 493.3 MB, free: 5.922 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.08977, allocations: 4 kB / 493.3 MB, free: 5.918 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.383e-05/0.08979, allocations: 4 kB / 493.4 MB, free: 5.914 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.406e-05/0.08982, allocations: 15.92 kB / 493.4 MB, free: 5.898 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.329e-05/0.08989, allocations: 65.42 kB / 493.4 MB, free: 5.828 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 9.683e-05/0.08999, allocations: 71.73 kB / 493.5 MB, free: 5.758 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.09, allocations: 0 / 493.5 MB, free: 5.758 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.09001, allocations: 4 kB / 493.5 MB, free: 5.754 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.307e-06/0.09002, allocations: 3.938 kB / 493.5 MB, free: 5.75 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005458/0.09057, allocations: 401 kB / 493.9 MB, free: 5.312 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.09061, allocations: 8.031 kB / 493.9 MB, free: 5.305 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.09065, allocations: 20.78 kB / 493.9 MB, free: 5.285 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.09085, allocations: 200.1 kB / 494.1 MB, free: 5.051 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.09088, allocations: 4.375 kB / 494.1 MB, free: 5.047 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.0909, allocations: 16.31 kB / 494.1 MB, free: 5.031 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.09118, allocations: 110 kB / 494.3 MB, free: 4.918 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.0912, allocations: 0 / 494.3 MB, free: 4.918 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.09122, allocations: 4 kB / 494.3 MB, free: 4.914 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.09123, allocations: 4 kB / 494.3 MB, free: 4.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.09139, allocations: 55.91 kB / 494.3 MB, free: 4.855 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006434/0.09204, allocations: 404.4 kB / 494.7 MB, free: 4.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.09238, allocations: 118.5 kB / 494.8 MB, free: 4.285 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.0925, allocations: 40.91 kB / 494.9 MB, free: 4.242 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.09252, allocations: 0 / 494.9 MB, free: 4.242 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002631/0.09279, allocations: 107.4 kB / 495 MB, free: 4.125 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.0928, allocations: 0 / 495 MB, free: 4.125 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004247/0.09323, allocations: 153.5 kB / 495.1 MB, free: 3.969 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.09328, allocations: 59.34 kB / 495.2 MB, free: 3.898 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.0934, allocations: 143.1 kB / 495.3 MB, free: 3.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.09342, allocations: 29.7 kB / 495.3 MB, free: 3.715 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.985e-05/0.09347, allocations: 108 kB / 495.5 MB, free: 3.605 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.0935, allocations: 19.8 kB / 495.5 MB, free: 3.586 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.09351, allocations: 0 / 495.5 MB, free: 3.586 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.09362, allocations: 322.8 kB / 495.8 MB, free: 3.262 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.09374, allocations: 39.97 kB / 495.8 MB, free: 3.223 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.09387, allocations: 57.69 kB / 495.9 MB, free: 3.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.09409, allocations: 81.62 kB / 496 MB, free: 3.074 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.0941, allocations: 0 / 496 MB, free: 3.074 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002836/0.09439, allocations: 137.6 kB / 496.1 MB, free: 2.934 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.09441, allocations: 7.938 kB / 496.1 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.09442, allocations: 0 / 496.1 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.09444, allocations: 4 kB / 496.1 MB, free: 2.922 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.762e-05/0.09454, allocations: 23.86 kB / 496.1 MB, free: 2.898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.09455, allocations: 0 / 496.1 MB, free: 2.898 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.364e-05/0.09465, allocations: 31.97 kB / 496.2 MB, free: 2.867 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.09467, allocations: 4 kB / 496.2 MB, free: 2.863 MB / 330.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: 7 ($whenCondition1,$whenCondition2,integrator.reset,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$PRE.change.u,change.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 8.039e-05/0.09475, allocations: 113.8 kB / 496.3 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.09478, allocations: 15.84 kB / 496.3 MB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/0.09482, allocations: 12.7 kB / 496.3 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.09482, allocations: 4 kB / 496.3 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.09483, allocations: 0 / 496.3 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.09484, allocations: 3.984 kB / 496.3 MB, free: 2.703 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.09533, allocations: 402.7 kB / 496.7 MB, free: 2.254 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.09534, allocations: 0 / 496.7 MB, free: 2.254 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.508e-05/0.09544, allocations: 19.98 kB / 496.7 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.09545, allocations: 0 / 496.7 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.09546, allocations: 4 kB / 496.7 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.09547, allocations: 0 / 496.7 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.09547, allocations: 0 / 496.7 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004617/0.09594, allocations: 271.2 kB / 497 MB, free: 1.949 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.096, allocations: 85.05 kB / 497.1 MB, free: 1.848 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.09602, allocations: 0 / 497.1 MB, free: 1.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.09617, allocations: 28.05 kB / 497.1 MB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.09622, allocations: 15.97 kB / 497.1 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.09624, allocations: 0 / 497.1 MB, free: 1.805 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.958e-05/0.09631, allocations: 117.5 kB / 497.2 MB, free: 1.691 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09632, allocations: 0 / 497.2 MB, free: 1.691 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002088/0.09653, allocations: 15.94 kB / 497.3 MB, free: 1.676 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 5 (integrator.reset,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,change.u) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 9.085e-05/0.09663, allocations: 111.2 kB / 497.4 MB, free: 1.559 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002706/0.09691, allocations: 91.83 kB / 497.4 MB, free: 1.469 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.09692, allocations: 4.062 kB / 497.5 MB, free: 1.465 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.09707, allocations: 51.95 kB / 497.5 MB, free: 1.414 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.09735, allocations: 19.98 kB / 497.5 MB, free: 1.395 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004518/0.09781, allocations: 257.5 kB / 497.8 MB, free: 1.121 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.09805, allocations: 0.7042 MB / 498.5 MB, free: 400 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.585e-05/0.09811, allocations: 12.55 kB / 498.5 MB, free: 388 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.09815, allocations: 15.38 kB / 498.5 MB, free: 372 kB / 330.7 MB Notification: Performance of SimCode: time 4.11e-07/0.09815, allocations: 0 / 498.5 MB, free: 372 kB / 330.7 MB Notification: Performance of Templates: time 0.002965/0.1011, allocations: 1.056 MB / 499.6 MB, free: 15.31 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches