Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.00106, allocations: 173.4 kB / 16.08 MB, free: 5.699 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.372/1.372, 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.0007812/0.0007812, allocations: 95.25 kB / 270.8 MB, free: 8.129 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.3288/0.3288, allocations: 43.66 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003094, allocations: 12 kB / 432.3 MB, free: 5.023 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1069, allocations: 58.85 MB / 491.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.00201/0.109, allocations: 1.59 MB / 492.8 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.1102, allocations: 0.9394 MB / 493.7 MB, free: 7.453 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.422e-05/0.1103, allocations: 0 / 493.7 MB, free: 7.453 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.1106, allocations: 39.83 kB / 493.7 MB, free: 7.414 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.1108, allocations: 51.77 kB / 493.8 MB, free: 7.363 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.111, allocations: 83.84 kB / 493.9 MB, free: 7.281 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.1112, allocations: 131.6 kB / 494 MB, free: 7.152 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1113, allocations: 37.69 kB / 494 MB, free: 7.113 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.558e-05/0.1114, allocations: 47.73 kB / 494.1 MB, free: 7.066 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.984e-05/0.1115, allocations: 43.7 kB / 494.1 MB, free: 7.023 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.1115, allocations: 4 kB / 494.1 MB, free: 7.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.92e-05/0.1116, allocations: 35.98 kB / 494.2 MB, free: 6.984 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.87e-05/0.1116, allocations: 19.92 kB / 494.2 MB, free: 6.965 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.706e-05/0.1117, allocations: 85.23 kB / 494.3 MB, free: 6.875 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.1119, allocations: 131.5 kB / 494.4 MB, free: 6.746 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.112, allocations: 0 / 494.4 MB, free: 6.746 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.112, allocations: 0 / 494.4 MB, free: 6.746 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.112, allocations: 4 kB / 494.4 MB, free: 6.742 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005155/0.1125, allocations: 456.6 kB / 494.8 MB, free: 6.242 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.1125, allocations: 8.031 kB / 494.9 MB, free: 6.234 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.1126, allocations: 16.75 kB / 494.9 MB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.1128, allocations: 224 kB / 495.1 MB, free: 5.961 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.1128, allocations: 4.375 kB / 495.1 MB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.1129, allocations: 12.12 kB / 495.1 MB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.1131, allocations: 112.2 kB / 495.2 MB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1131, allocations: 7.984 kB / 495.2 MB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1131, allocations: 0 / 495.2 MB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1131, allocations: 0 / 495.2 MB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.1133, allocations: 59.91 kB / 495.3 MB, free: 5.754 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004963/0.1138, allocations: 0.5009 MB / 495.8 MB, free: 5.195 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.1141, allocations: 90.66 kB / 495.9 MB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.177e-05/0.1142, allocations: 40.78 kB / 495.9 MB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.1142, allocations: 4 kB / 495.9 MB, free: 5.051 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/0.1144, allocations: 99.23 kB / 496 MB, free: 4.941 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.1145, allocations: 0 / 496 MB, free: 4.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003595/0.1148, allocations: 141.4 kB / 496.1 MB, free: 4.797 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.1149, allocations: 63.34 kB / 496.2 MB, free: 4.723 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.115, allocations: 183.5 kB / 496.4 MB, free: 4.531 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.1151, allocations: 33.7 kB / 496.4 MB, free: 4.492 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.3e-05/0.1151, allocations: 115.9 kB / 496.5 MB, free: 4.375 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.1151, allocations: 27.69 kB / 496.6 MB, free: 4.348 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-06/0.1152, allocations: 8 kB / 496.6 MB, free: 4.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.322e-05/0.1153, allocations: 318.8 kB / 496.9 MB, free: 4.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.59e-05/0.1154, allocations: 31.98 kB / 496.9 MB, free: 3.988 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.1155, allocations: 72.2 kB / 497 MB, free: 3.902 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.1157, allocations: 96.22 kB / 497.1 MB, free: 3.793 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1157, allocations: 0 / 497.1 MB, free: 3.793 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002721/0.116, allocations: 141.7 kB / 497.2 MB, free: 3.648 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.116, allocations: 8 kB / 497.2 MB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.116, allocations: 0 / 497.2 MB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.116, allocations: 4.078 kB / 497.2 MB, free: 3.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1162, allocations: 36 kB / 497.3 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.1162, allocations: 7.938 kB / 497.3 MB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.286e-05/0.1163, allocations: 15.83 kB / 497.3 MB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1163, allocations: 4 kB / 497.3 MB, free: 3.574 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.843e-05/0.1164, allocations: 125.8 kB / 497.4 MB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.1164, allocations: 11.89 kB / 497.4 MB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.323e-05/0.1164, allocations: 17.41 kB / 497.4 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1165, allocations: 7.938 kB / 497.4 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1165, allocations: 4 kB / 497.5 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1165, allocations: 0 / 497.5 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.1166, allocations: 209.5 kB / 497.7 MB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1166, allocations: 0 / 497.7 MB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.959e-05/0.1167, allocations: 19.92 kB / 497.7 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1167, allocations: 0 / 497.7 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1168, allocations: 0 / 497.7 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/0.1168, allocations: 7.922 kB / 497.7 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1168, allocations: 3.938 kB / 497.7 MB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003673/0.1171, allocations: 188.9 kB / 497.9 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.078e-05/0.1172, allocations: 96.89 kB / 498 MB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.1173, allocations: 0 / 498 MB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.935e-05/0.1173, allocations: 11.92 kB / 498 MB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.1174, allocations: 4.062 kB / 498 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.1174, allocations: 15.98 kB / 498 MB, free: 2.766 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001185/0.1175, allocations: 133.2 kB / 498.1 MB, free: 2.637 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1175, allocations: 0 / 498.1 MB, free: 2.637 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002128/0.1178, allocations: 27.98 kB / 498.2 MB, free: 2.609 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0009742/0.1187, allocations: 480 kB / 498.6 MB, free: 2.262 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.119, allocations: 92 kB / 498.7 MB, free: 2.172 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.119, allocations: 0 / 498.7 MB, free: 2.172 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.844e-05/0.1191, allocations: 39.97 kB / 498.8 MB, free: 2.133 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.1194, allocations: 35.42 kB / 498.8 MB, free: 2.102 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005864/0.12, allocations: 317.6 kB / 499.1 MB, free: 1.766 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.1203, allocations: 0.7123 MB / 499.8 MB, free: 1.027 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.805e-05/0.1204, allocations: 21.41 kB / 499.8 MB, free: 1.004 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.197e-05/0.1204, allocations: 15.44 kB / 499.8 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1204, allocations: 0 / 499.8 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of Templates: time 0.1653/0.2857, allocations: 1.759 MB / 0.4898 GB, free: 42.64 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches