Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001524/0.001524, allocations: 176.3 kB / 16.08 MB, free: 5.566 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.408/1.408, allocations: 205.6 MB / 222.4 MB, free: 13.67 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.0007735/0.0007737, allocations: 94.25 kB / 270.8 MB, free: 13.18 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.2148/0.2148, allocations: 43.69 MB / 362.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.0003181, allocations: 16 kB / 432.3 MB, free: 19.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09211/0.09245, allocations: 58.86 MB / 491.2 MB, free: 8.121 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002132/0.09463, allocations: 1.394 MB / 492.6 MB, free: 6.711 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.09595, allocations: 0.8214 MB / 493.4 MB, free: 5.863 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.591e-05/0.09605, allocations: 3.938 kB / 493.4 MB, free: 5.859 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.09633, allocations: 35.89 kB / 493.4 MB, free: 5.824 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.09655, allocations: 47.83 kB / 493.5 MB, free: 5.777 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.09683, allocations: 75.84 kB / 493.6 MB, free: 5.703 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.097, allocations: 91.69 kB / 493.6 MB, free: 5.613 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.25e-05/0.0971, allocations: 12.23 kB / 493.7 MB, free: 5.602 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.477e-05/0.0972, allocations: 43.72 kB / 493.7 MB, free: 5.559 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.342e-05/0.09727, allocations: 27.84 kB / 493.7 MB, free: 5.531 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.0973, allocations: 4 kB / 493.7 MB, free: 5.527 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.09742, allocations: 32 kB / 493.8 MB, free: 5.496 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.253e-05/0.09748, allocations: 23.91 kB / 493.8 MB, free: 5.473 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.43e-05/0.09755, allocations: 61.44 kB / 493.8 MB, free: 5.406 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.09776, allocations: 107.8 kB / 494 MB, free: 5.301 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.09777, allocations: 0 / 494 MB, free: 5.301 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09778, allocations: 0 / 494 MB, free: 5.301 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.09779, allocations: 8 kB / 494 MB, free: 5.293 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005035/0.0983, allocations: 391.2 kB / 494.3 MB, free: 4.863 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.09835, allocations: 12.03 kB / 494.4 MB, free: 4.852 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.09839, allocations: 8.844 kB / 494.4 MB, free: 4.844 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.09862, allocations: 204.1 kB / 494.6 MB, free: 4.605 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.09865, allocations: 384 / 494.6 MB, free: 4.605 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.09868, allocations: 8.125 kB / 494.6 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.09883, allocations: 57.61 kB / 494.6 MB, free: 4.535 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.09885, allocations: 7.938 kB / 494.6 MB, free: 4.527 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.09887, allocations: 0 / 494.6 MB, free: 4.527 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.09888, allocations: 0 / 494.6 MB, free: 4.527 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.485e-05/0.09896, allocations: 23.98 kB / 494.7 MB, free: 4.504 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.09933, allocations: 288.8 kB / 494.9 MB, free: 4.172 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.0995, allocations: 54.62 kB / 495 MB, free: 4.109 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.09956, allocations: 24.84 kB / 495 MB, free: 4.082 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.09959, allocations: 0 / 495 MB, free: 4.082 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.09976, allocations: 67.39 kB / 495.1 MB, free: 4.004 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.09977, allocations: 0 / 495.1 MB, free: 4.004 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005202/0.1003, allocations: 173.2 kB / 495.3 MB, free: 3.828 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.1003, allocations: 55.41 kB / 495.3 MB, free: 3.762 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.1005, allocations: 193 kB / 495.5 MB, free: 3.566 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.1006, allocations: 25.7 kB / 495.5 MB, free: 3.535 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.24e-05/0.1006, allocations: 104.1 kB / 495.6 MB, free: 3.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.1007, allocations: 19.72 kB / 495.6 MB, free: 3.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.1007, allocations: 4 kB / 495.6 MB, free: 3.406 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1008, allocations: 326.8 kB / 496 MB, free: 3.078 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.54e-05/0.1008, allocations: 19.98 kB / 496 MB, free: 3.059 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.689e-05/0.1009, allocations: 45.58 kB / 496 MB, free: 3.008 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.101, allocations: 65.77 kB / 496.1 MB, free: 2.938 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.101, allocations: 0 / 496.1 MB, free: 2.938 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001736/0.1012, allocations: 97.52 kB / 496.2 MB, free: 2.836 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1013, allocations: 4 kB / 496.2 MB, free: 2.832 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1013, allocations: 0 / 496.2 MB, free: 2.832 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1013, allocations: 4 kB / 496.2 MB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.1014, allocations: 20.02 kB / 496.2 MB, free: 2.809 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1014, allocations: 4.375 kB / 496.2 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.5e-05/0.1015, allocations: 7.938 kB / 496.2 MB, free: 2.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.1015, allocations: 4 kB / 496.2 MB, free: 2.793 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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 0.0001025/0.1016, allocations: 129.8 kB / 496.4 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.1017, allocations: 15.81 kB / 496.4 MB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.676e-05/0.1017, allocations: 12.72 kB / 496.4 MB, free: 2.621 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1017, allocations: 4 kB / 496.4 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1017, allocations: 0 / 496.4 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1017, allocations: 7.938 kB / 496.4 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004351/0.1022, allocations: 391.2 kB / 496.8 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1022, allocations: 0 / 496.8 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.502e-05/0.1022, allocations: 12 kB / 496.8 MB, free: 2.156 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1023, allocations: 4 kB / 496.8 MB, free: 2.152 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1023, allocations: 3.938 kB / 496.8 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1023, allocations: 0 / 496.8 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1023, allocations: 0 / 496.8 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.1025, allocations: 200.3 kB / 497 MB, free: 1.934 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.1026, allocations: 96.84 kB / 497.1 MB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.1026, allocations: 7.938 kB / 497.1 MB, free: 1.812 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.852e-05/0.1027, allocations: 0 / 497.1 MB, free: 1.812 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.1027, allocations: 11.98 kB / 497.1 MB, free: 1.801 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.1027, allocations: 4 kB / 497.1 MB, free: 1.797 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.664e-05/0.1028, allocations: 143.2 kB / 497.3 MB, free: 1.656 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1028, allocations: 0 / 497.3 MB, free: 1.656 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000236/0.1031, allocations: 20 kB / 497.3 MB, free: 1.637 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001004/0.1041, allocations: 0.5387 MB / 497.8 MB, free: 1.238 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.1043, allocations: 60.09 kB / 497.9 MB, free: 1.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1043, allocations: 0 / 497.9 MB, free: 1.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.105e-05/0.1044, allocations: 35.91 kB / 497.9 MB, free: 1.145 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.1047, allocations: 23.98 kB / 497.9 MB, free: 1.121 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.1052, allocations: 242.5 kB / 498.2 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.1055, allocations: 0.7043 MB / 498.9 MB, free: 128 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.129e-05/0.1056, allocations: 21.17 kB / 498.9 MB, free: 108 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.1056, allocations: 15.44 kB / 498.9 MB, free: 92 kB / 330.7 MB Notification: Performance of SimCode: time 3.91e-07/0.1056, allocations: 0 / 498.9 MB, free: 92 kB / 330.7 MB Notification: Performance of Templates: time 0.004167/0.1098, allocations: 1.619 MB / 0.4888 GB, free: 14.47 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches