Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 173.7 kB / 16.07 MB, free: 5.531 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: 8.93 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.0007666/0.0007663, allocations: 102.7 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.3175/0.3175, allocations: 43.67 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003153, allocations: 12 kB / 432.3 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1138, allocations: 58.85 MB / 491.2 MB, free: 9.812 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.00179/0.1156, allocations: 1.373 MB / 492.5 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1168, allocations: 0.807 MB / 493.3 MB, free: 7.594 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.279e-05/0.1168, allocations: 0 / 493.3 MB, free: 7.594 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.1171, allocations: 55.8 kB / 493.4 MB, free: 7.539 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.1173, allocations: 63.81 kB / 493.5 MB, free: 7.477 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.1175, allocations: 71.84 kB / 493.5 MB, free: 7.406 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.1177, allocations: 87.7 kB / 493.6 MB, free: 7.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.623e-05/0.1177, allocations: 19.94 kB / 493.6 MB, free: 7.301 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.253e-05/0.1178, allocations: 39.8 kB / 493.7 MB, free: 7.262 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.728e-05/0.1179, allocations: 43.83 kB / 493.7 MB, free: 7.219 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.1179, allocations: 0 / 493.7 MB, free: 7.219 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.946e-05/0.118, allocations: 27.98 kB / 493.7 MB, free: 7.191 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.743e-05/0.118, allocations: 19.86 kB / 493.8 MB, free: 7.172 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.101e-05/0.1181, allocations: 53.52 kB / 493.8 MB, free: 7.113 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.1183, allocations: 99.91 kB / 493.9 MB, free: 7.016 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1183, allocations: 0 / 493.9 MB, free: 7.016 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1183, allocations: 0 / 493.9 MB, free: 7.016 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.1183, allocations: 0 / 493.9 MB, free: 7.016 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004433/0.1187, allocations: 395.1 kB / 494.3 MB, free: 6.582 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.1188, allocations: 8.031 kB / 494.3 MB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.365e-05/0.1188, allocations: 8.844 kB / 494.3 MB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.119, allocations: 216 kB / 494.5 MB, free: 6.316 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.1191, allocations: 4.375 kB / 494.5 MB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.1191, allocations: 8.062 kB / 494.5 MB, free: 6.305 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.1192, allocations: 49.67 kB / 494.6 MB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1192, allocations: 0 / 494.6 MB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.1192, allocations: 0 / 494.6 MB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1192, allocations: 0 / 494.6 MB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.318e-05/0.1193, allocations: 19.92 kB / 494.6 MB, free: 6.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.1195, allocations: 177.7 kB / 494.8 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.1197, allocations: 54.56 kB / 494.8 MB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.272e-05/0.1197, allocations: 24.78 kB / 494.9 MB, free: 5.918 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.1198, allocations: 7.938 kB / 494.9 MB, free: 5.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.1199, allocations: 63.39 kB / 494.9 MB, free: 5.836 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.1199, allocations: 4 kB / 494.9 MB, free: 5.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002415/0.1202, allocations: 89.58 kB / 495 MB, free: 5.738 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.1202, allocations: 55.34 kB / 495.1 MB, free: 5.672 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.1204, allocations: 185.5 kB / 495.3 MB, free: 5.484 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1204, allocations: 29.7 kB / 495.3 MB, free: 5.449 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.1205, allocations: 100.1 kB / 495.4 MB, free: 5.348 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.1205, allocations: 11.81 kB / 495.4 MB, free: 5.336 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.1205, allocations: 4 kB / 495.4 MB, free: 5.332 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.559e-05/0.1206, allocations: 322.8 kB / 495.7 MB, free: 5.008 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.754e-05/0.1207, allocations: 15.98 kB / 495.7 MB, free: 4.992 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.885e-05/0.1207, allocations: 25.72 kB / 495.8 MB, free: 4.961 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.768e-05/0.1208, allocations: 41.7 kB / 495.8 MB, free: 4.914 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1208, allocations: 0 / 495.8 MB, free: 4.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000139/0.121, allocations: 81.47 kB / 495.9 MB, free: 4.828 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.121, allocations: 12.03 kB / 495.9 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.121, allocations: 0 / 495.9 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.121, allocations: 3.984 kB / 495.9 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.333e-05/0.1211, allocations: 12 kB / 495.9 MB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1211, allocations: 0 / 495.9 MB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.382e-05/0.1212, allocations: 12.16 kB / 495.9 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.1212, allocations: 4 kB / 495.9 MB, free: 4.785 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: 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 (7): * Single equations (assignments): 7 * 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.47e-05/0.1213, allocations: 125.8 kB / 496 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.1213, allocations: 7.906 kB / 496 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/0.1213, allocations: 16.31 kB / 496.1 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.1213, allocations: 7.984 kB / 496.1 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.1214, allocations: 0 / 496.1 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1214, allocations: 4 kB / 496.1 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.1215, allocations: 185.5 kB / 496.3 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1215, allocations: 0 / 496.3 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.253e-05/0.1215, allocations: 4 kB / 496.3 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1215, allocations: 3.938 kB / 496.3 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1215, allocations: 7.984 kB / 496.3 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1216, allocations: 0 / 496.3 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1216, allocations: 4 kB / 496.3 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.1217, allocations: 112.9 kB / 496.4 MB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.1218, allocations: 92.91 kB / 496.5 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.1218, allocations: 0 / 496.5 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.624e-05/0.1219, allocations: 0 / 496.5 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.1219, allocations: 11.98 kB / 496.5 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.1219, allocations: 4 kB / 496.5 MB, free: 4.117 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001022/0.122, allocations: 146 kB / 496.6 MB, free: 3.977 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.122, allocations: 0 / 496.6 MB, free: 3.977 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001891/0.1222, allocations: 15.98 kB / 496.7 MB, free: 3.961 MB / 378.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008389/0.1231, allocations: 470.5 kB / 497.1 MB, free: 3.621 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001411/0.1232, allocations: 39.92 kB / 497.2 MB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1232, allocations: 0 / 497.2 MB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.464e-05/0.1233, allocations: 16 kB / 497.2 MB, free: 3.566 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.1235, allocations: 43.77 kB / 497.2 MB, free: 3.527 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003683/0.1239, allocations: 217.2 kB / 497.4 MB, free: 3.285 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.1241, allocations: 0.7004 MB / 498.1 MB, free: 2.559 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.846e-05/0.1242, allocations: 12.42 kB / 498.1 MB, free: 2.547 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.1242, allocations: 15.42 kB / 498.1 MB, free: 2.531 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.1242, allocations: 4 kB / 498.2 MB, free: 2.527 MB / 378.7 MB Notification: Performance of Templates: time 0.003543/0.1278, allocations: 1.413 MB / 499.6 MB, free: 1.117 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches