Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.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.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008728/0.0008729, allocations: 170.7 kB / 16.07 MB, free: 5.727 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.225/1.225, allocations: 205.6 MB / 222.4 MB, free: 8.926 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.0007235/0.0007236, allocations: 94.72 kB / 270.8 MB, free: 8.117 MB / 218.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.2843/0.2843, allocations: 43.66 MB / 362.7 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003798, allocations: 15.94 kB / 432.3 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1183, allocations: 58.84 MB / 491.2 MB, free: 9.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.001167/0.1195, allocations: 0.5247 MB / 491.7 MB, free: 9.297 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002009/0.1197, allocations: 51.83 kB / 491.7 MB, free: 9.246 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.869e-05/0.1198, allocations: 4 kB / 491.7 MB, free: 9.242 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.1199, allocations: 3.938 kB / 491.7 MB, free: 9.238 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.091e-05/0.1199, allocations: 3.938 kB / 491.7 MB, free: 9.234 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001116/0.12, allocations: 15.98 kB / 491.8 MB, free: 9.219 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.1202, allocations: 35.92 kB / 491.8 MB, free: 9.184 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.954e-05/0.1203, allocations: 23.95 kB / 491.8 MB, free: 9.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.248e-05/0.1203, allocations: 7.938 kB / 491.8 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.859e-05/0.1204, allocations: 11.92 kB / 491.8 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.1204, allocations: 0 / 491.8 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.116e-05/0.1204, allocations: 4 kB / 491.8 MB, free: 9.137 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.1204, allocations: 7.938 kB / 491.8 MB, free: 9.129 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.792e-05/0.1205, allocations: 37.58 kB / 491.9 MB, free: 9.086 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.416e-05/0.1206, allocations: 40.03 kB / 491.9 MB, free: 9.047 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1206, allocations: 4 kB / 491.9 MB, free: 9.043 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1206, allocations: 0 / 491.9 MB, free: 9.043 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1206, allocations: 0 / 491.9 MB, free: 9.043 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004069/0.121, allocations: 339.5 kB / 492.3 MB, free: 8.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.1211, allocations: 8.031 kB / 492.3 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.1211, allocations: 8.844 kB / 492.3 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.1213, allocations: 184.2 kB / 492.4 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1213, allocations: 4.375 kB / 492.5 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.1214, allocations: 4.375 kB / 492.5 MB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.1215, allocations: 50.25 kB / 492.5 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1215, allocations: 4.125 kB / 492.5 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.1215, allocations: 7.938 kB / 492.5 MB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1216, allocations: 4 kB / 492.5 MB, free: 8.348 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.73e-05/0.1216, allocations: 11.98 kB / 492.5 MB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005166/0.1221, allocations: 284.7 kB / 492.8 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.659e-05/0.1222, allocations: 38.5 kB / 492.9 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.997e-05/0.1222, allocations: 4.859 kB / 492.9 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-06/0.1223, allocations: 0 / 492.9 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/0.1224, allocations: 51.47 kB / 492.9 MB, free: 7.891 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.1224, allocations: 0 / 492.9 MB, free: 7.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001401/0.1225, allocations: 53.62 kB / 493 MB, free: 7.832 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.1226, allocations: 51.41 kB / 493 MB, free: 7.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.1227, allocations: 125.8 kB / 493.1 MB, free: 7.637 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1227, allocations: 25.7 kB / 493.2 MB, free: 7.605 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/0.1228, allocations: 93.3 kB / 493.2 MB, free: 7.512 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.1228, allocations: 3.906 kB / 493.3 MB, free: 7.508 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.1228, allocations: 0 / 493.3 MB, free: 7.508 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.123, allocations: 322.8 kB / 493.6 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.209e-05/0.123, allocations: 7.938 kB / 493.6 MB, free: 7.176 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.555e-05/0.123, allocations: 25.89 kB / 493.6 MB, free: 7.145 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.261e-05/0.1231, allocations: 29.73 kB / 493.6 MB, free: 7.109 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1231, allocations: 0 / 493.6 MB, free: 7.109 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001068/0.1232, allocations: 57.59 kB / 493.7 MB, free: 7.047 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1233, allocations: 8 kB / 493.7 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1233, allocations: 0 / 493.7 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1233, allocations: 0 / 493.7 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.808e-05/0.1233, allocations: 7.938 kB / 493.7 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1234, allocations: 0 / 493.7 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.287e-05/0.1234, allocations: 12.34 kB / 493.7 MB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.1234, allocations: 3.938 kB / 493.7 MB, free: 7.016 MB / 378.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: 2 ($whenCondition1,greaterEqualThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.711e-05/0.1235, allocations: 117.8 kB / 493.8 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.1235, allocations: 0 / 493.8 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.335e-05/0.1236, allocations: 11.84 kB / 493.8 MB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1236, allocations: 0 / 493.8 MB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.1236, allocations: 0 / 493.8 MB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1236, allocations: 0 / 493.8 MB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003531/0.124, allocations: 310.4 kB / 494.1 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.124, allocations: 0 / 494.1 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.075e-05/0.124, allocations: 4 kB / 494.1 MB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.124, allocations: 0 / 494.1 MB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.1241, allocations: 4 kB / 494.2 MB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.1241, allocations: 7.938 kB / 494.2 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1241, allocations: 0 / 494.2 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.1243, allocations: 147.5 kB / 494.3 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.1243, allocations: 85 kB / 494.4 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.1243, allocations: 4.031 kB / 494.4 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.099e-05/0.1244, allocations: 3.938 kB / 494.4 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.1245, allocations: 3.938 kB / 494.4 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.1245, allocations: 4 kB / 494.4 MB, free: 6.227 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.916e-05/0.1246, allocations: 91.27 kB / 494.5 MB, free: 6.137 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1246, allocations: 0 / 494.5 MB, free: 6.137 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003351/0.1249, allocations: 8 kB / 494.5 MB, free: 6.129 MB / 378.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: 2 (greaterEqualThreshold.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001018/0.125, allocations: 107.2 kB / 494.6 MB, free: 6.016 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.417e-05/0.1251, allocations: 19.98 kB / 494.6 MB, free: 5.996 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1252, allocations: 3.938 kB / 494.6 MB, free: 5.992 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.371e-05/0.1252, allocations: 7.938 kB / 494.6 MB, free: 5.984 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.1256, allocations: 15.92 kB / 494.7 MB, free: 5.973 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/0.1259, allocations: 158.7 kB / 494.8 MB, free: 5.789 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.1262, allocations: 0.6809 MB / 495.5 MB, free: 5.082 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.464e-05/0.1262, allocations: 4 kB / 495.5 MB, free: 5.078 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.1262, allocations: 11.44 kB / 495.5 MB, free: 5.07 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.1262, allocations: 0 / 495.5 MB, free: 5.07 MB / 378.7 MB Notification: Performance of Templates: time 0.002828/0.1291, allocations: 478.8 kB / 496 MB, free: 4.609 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches