Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.28/1.28, allocations: 205.1 MB / 222.5 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001154, allocations: 97.67 kB / 269.9 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3236/0.3236, allocations: 43.49 MB / 360.7 MB, free: 51.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 51.92 kB / 429.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1211, allocations: 57.77 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.002458/0.1236, allocations: 0.8712 MB / 487.9 MB, free: 11.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002217/0.1238, allocations: 51.81 kB / 487.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.421e-05/0.1239, allocations: 4 kB / 487.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.1241, allocations: 11.88 kB / 487.9 MB, free: 11.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.886e-05/0.1241, allocations: 0 / 487.9 MB, free: 11.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001172/0.1242, allocations: 15.98 kB / 488 MB, free: 11.6 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.1243, allocations: 39.86 kB / 488 MB, free: 11.56 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1245, allocations: 19.97 kB / 488 MB, free: 11.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.6e-05/0.1245, allocations: 15.92 kB / 488 MB, free: 11.53 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.17e-05/0.1245, allocations: 7.922 kB / 488 MB, free: 11.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.1246, allocations: 4 kB / 488 MB, free: 11.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.066e-05/0.1246, allocations: 0 / 488 MB, free: 11.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/0.1246, allocations: 15.94 kB / 488.1 MB, free: 11.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.341e-05/0.1246, allocations: 15.92 kB / 488.1 MB, free: 11.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.437e-05/0.1247, allocations: 36 kB / 488.1 MB, free: 11.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1247, allocations: 0 / 488.1 MB, free: 11.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1247, allocations: 0 / 488.1 MB, free: 11.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.1248, allocations: 4 kB / 488.1 MB, free: 11.45 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.0004218/0.1252, allocations: 351.4 kB / 488.5 MB, free: 11.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1252, allocations: 12.03 kB / 488.5 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.1253, allocations: 4.938 kB / 488.5 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.1254, allocations: 180.2 kB / 488.6 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.1255, allocations: 8.375 kB / 488.7 MB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.1255, allocations: 4.375 kB / 488.7 MB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.1256, allocations: 54.19 kB / 488.7 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1256, allocations: 192 / 488.7 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1256, allocations: 3.938 kB / 488.7 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1256, allocations: 0 / 488.7 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.307e-05/0.1257, allocations: 15.98 kB / 488.7 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004756/0.1262, allocations: 296.7 kB / 489 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.61e-05/0.1262, allocations: 18.58 kB / 489 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.953e-05/0.1263, allocations: 14.03 kB / 489.1 MB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.673e-06/0.1263, allocations: 4.062 kB / 489.1 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/0.1264, allocations: 47.41 kB / 489.1 MB, free: 10.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.1264, allocations: 0 / 489.1 MB, free: 10.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001784/0.1266, allocations: 61.53 kB / 489.2 MB, free: 10.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.1266, allocations: 51.41 kB / 489.2 MB, free: 10.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.023e-05/0.1267, allocations: 113.8 kB / 489.3 MB, free: 10.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.1268, allocations: 25.7 kB / 489.3 MB, free: 10 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.1268, allocations: 92.12 kB / 489.4 MB, free: 9.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.1268, allocations: 11.97 kB / 489.4 MB, free: 9.898 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.1269, allocations: 13.72 kB / 489.5 MB, free: 9.879 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.127, allocations: 330.7 kB / 489.8 MB, free: 9.547 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.619e-05/0.127, allocations: 8 kB / 489.8 MB, free: 9.539 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.623e-05/0.127, allocations: 17.72 kB / 489.8 MB, free: 9.516 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.776e-05/0.1271, allocations: 25.94 kB / 489.8 MB, free: 9.484 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1271, allocations: 384 / 489.8 MB, free: 9.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.607e-05/0.1272, allocations: 65.52 kB / 489.9 MB, free: 9.414 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1272, allocations: 4 kB / 489.9 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1272, allocations: 0 / 489.9 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1272, allocations: 7.969 kB / 489.9 MB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.149e-05/0.1273, allocations: 7.984 kB / 489.9 MB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1273, allocations: 4 kB / 489.9 MB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.864e-05/0.1273, allocations: 3.938 kB / 489.9 MB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.1273, allocations: 3.938 kB / 489.9 MB, free: 9.383 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 (greaterEqualThreshold.y,$whenCondition1) * 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 7.463e-05/0.1274, allocations: 113.8 kB / 490 MB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.1274, allocations: 7.906 kB / 490 MB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/0.1275, allocations: 3.906 kB / 490.1 MB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1275, allocations: 0 / 490.1 MB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.1275, allocations: 7.984 kB / 490.1 MB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1275, allocations: 0 / 490.1 MB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.1278, allocations: 298.5 kB / 490.4 MB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1278, allocations: 0 / 490.4 MB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.331e-05/0.1278, allocations: 8 kB / 490.4 MB, free: 8.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1278, allocations: 3.984 kB / 490.4 MB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.1278, allocations: 4 kB / 490.4 MB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1279, allocations: 3.938 kB / 490.4 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1279, allocations: 0 / 490.4 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007263/0.1286, allocations: 0.9565 MB / 491.3 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.1287, allocations: 85.09 kB / 491.4 MB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.976e-06/0.1287, allocations: 4.031 kB / 491.4 MB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.126e-05/0.1287, allocations: 8.109 kB / 491.4 MB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.1288, allocations: 0 / 491.4 MB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.1288, allocations: 7.984 kB / 491.4 MB, free: 7.656 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.492e-05/0.1289, allocations: 87.28 kB / 491.5 MB, free: 7.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1289, allocations: 0 / 491.5 MB, free: 7.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003055/0.1292, allocations: 8 kB / 491.5 MB, free: 7.562 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.0001106/0.1293, allocations: 107.2 kB / 491.6 MB, free: 7.445 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.933e-05/0.1294, allocations: 23.88 kB / 491.7 MB, free: 7.422 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1294, allocations: 4.062 kB / 491.7 MB, free: 7.418 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.609e-05/0.1294, allocations: 4 kB / 491.7 MB, free: 7.414 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.1297, allocations: 15.92 kB / 491.7 MB, free: 7.398 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.1301, allocations: 259 kB / 491.9 MB, free: 7.105 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.1304, allocations: 0.6887 MB / 492.6 MB, free: 6.391 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.896e-05/0.1305, allocations: 11.94 kB / 492.6 MB, free: 6.379 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.1305, allocations: 7.438 kB / 492.6 MB, free: 6.371 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.1305, allocations: 4 kB / 492.6 MB, free: 6.367 MB / 378.7 MB Notification: Performance of Templates: time 0.00252/0.1331, allocations: 0.5011 MB / 493.1 MB, free: 5.871 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@2/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