Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001441/0.001441, allocations: 174 kB / 16.08 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.45/1.45, allocations: 205.6 MB / 222.4 MB, free: 8.945 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.0007662/0.0007661, allocations: 90.42 kB / 270.8 MB, free: 8.125 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.3408/0.3408, allocations: 43.67 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000324/0.0003241, allocations: 12 kB / 432.3 MB, free: 5.02 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1074, allocations: 58.85 MB / 491.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002005/0.1094, allocations: 1.53 MB / 492.7 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.1108, allocations: 0.9188 MB / 493.6 MB, free: 7.551 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.074e-05/0.1109, allocations: 7.938 kB / 493.6 MB, free: 7.543 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004304/0.1113, allocations: 243.5 kB / 493.9 MB, free: 7.305 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.1116, allocations: 167.5 kB / 494 MB, free: 7.141 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.112, allocations: 135.8 kB / 494.2 MB, free: 7.008 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.1123, allocations: 235.3 kB / 494.4 MB, free: 6.777 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.1124, allocations: 25.53 kB / 494.4 MB, free: 6.746 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.1125, allocations: 111.6 kB / 494.5 MB, free: 6.637 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.1127, allocations: 171.4 kB / 494.7 MB, free: 6.469 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.1127, allocations: 4 kB / 494.7 MB, free: 6.465 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.179e-05/0.1128, allocations: 43.98 kB / 494.7 MB, free: 6.422 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.169e-05/0.1129, allocations: 59.75 kB / 494.8 MB, free: 6.363 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.697e-05/0.113, allocations: 105 kB / 494.9 MB, free: 6.254 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.1133, allocations: 219.4 kB / 495.1 MB, free: 6.039 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1133, allocations: 0 / 495.1 MB, free: 6.039 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1133, allocations: 0 / 495.1 MB, free: 6.039 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1133, allocations: 4 kB / 495.1 MB, free: 6.035 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006269/0.1139, allocations: 0.5176 MB / 495.6 MB, free: 5.469 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.114, allocations: 12.03 kB / 495.6 MB, free: 5.457 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.108e-05/0.1141, allocations: 28.56 kB / 495.7 MB, free: 5.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.1144, allocations: 292 kB / 496 MB, free: 5.109 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.1144, allocations: 384 / 496 MB, free: 5.109 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.1144, allocations: 16.03 kB / 496 MB, free: 5.094 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.1147, allocations: 95.36 kB / 496.1 MB, free: 4.988 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1147, allocations: 0 / 496.1 MB, free: 4.988 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.1147, allocations: 3.984 kB / 496.1 MB, free: 4.984 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1147, allocations: 7.984 kB / 496.1 MB, free: 4.977 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.1148, allocations: 43.92 kB / 496.1 MB, free: 4.934 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004618/0.1153, allocations: 449 kB / 496.6 MB, free: 4.441 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.1156, allocations: 121.3 kB / 496.7 MB, free: 4.305 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.16e-05/0.1157, allocations: 37.7 kB / 496.7 MB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.1157, allocations: 4 kB / 496.7 MB, free: 4.258 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002306/0.1159, allocations: 117 kB / 496.8 MB, free: 4.125 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.116, allocations: 0 / 496.8 MB, free: 4.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008368/0.1168, allocations: 375.7 kB / 497.2 MB, free: 3.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.1169, allocations: 89.05 kB / 497.3 MB, free: 3.645 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004272/0.1173, allocations: 481.5 kB / 497.8 MB, free: 3.164 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.1173, allocations: 33.69 kB / 497.8 MB, free: 3.125 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.662e-05/0.1174, allocations: 164.4 kB / 498 MB, free: 2.961 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.1175, allocations: 47.36 kB / 498 MB, free: 2.914 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.1175, allocations: 0 / 498 MB, free: 2.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1176, allocations: 346.8 kB / 498.3 MB, free: 2.566 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.568e-05/0.1177, allocations: 39.97 kB / 498.4 MB, free: 2.527 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.1178, allocations: 71.02 kB / 498.4 MB, free: 2.449 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.1181, allocations: 123.3 kB / 498.6 MB, free: 2.316 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1181, allocations: 0 / 498.6 MB, free: 2.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003131/0.1184, allocations: 177.2 kB / 498.7 MB, free: 2.137 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1184, allocations: 4 kB / 498.7 MB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1184, allocations: 4 kB / 498.7 MB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1184, allocations: 0 / 498.7 MB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1186, allocations: 39.98 kB / 498.8 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1186, allocations: 3.938 kB / 498.8 MB, free: 2.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.935e-05/0.1187, allocations: 8 kB / 498.8 MB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.1187, allocations: 11.98 kB / 498.8 MB, free: 2.066 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001485/0.1189, allocations: 169.7 kB / 499 MB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.1189, allocations: 31.62 kB / 499 MB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.576e-05/0.119, allocations: 38.81 kB / 499 MB, free: 1.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.119, allocations: 0 / 499 MB, free: 1.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.119, allocations: 11.94 kB / 499.1 MB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.119, allocations: 0 / 499.1 MB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006998/0.1197, allocations: 0.6329 MB / 499.7 MB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1197, allocations: 0 / 499.7 MB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.383e-05/0.1198, allocations: 16 kB / 499.7 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1198, allocations: 64 / 499.7 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.1198, allocations: 15.98 kB / 499.7 MB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1198, allocations: 4.078 kB / 499.7 MB, free: 1.078 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.1198, allocations: 7.984 kB / 499.7 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.1202, allocations: 364 kB / 0.4884 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.821e-05/0.1203, allocations: 108.7 kB / 0.4885 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.1203, allocations: 7.984 kB / 0.4885 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.1205, allocations: 8 kB / 0.4885 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.1205, allocations: 11.98 kB / 0.4885 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.1205, allocations: 11.92 kB / 0.4885 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003022/0.1209, allocations: 359.1 kB / 0.4889 GB, free: 180 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1209, allocations: 0 / 0.4889 GB, free: 180 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002953/0.1212, allocations: 39.98 kB / 0.4889 GB, free: 140 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.2369/0.358, allocations: 0.5353 MB / 0.4894 GB, free: 43.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000348/0.3584, allocations: 116.4 kB / 0.4895 GB, free: 43.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3584, allocations: 0.9375 kB / 0.4895 GB, free: 43.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.3585, allocations: 61.95 kB / 0.4896 GB, free: 43.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005827/0.3591, allocations: 59.62 kB / 0.4896 GB, free: 43.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008327/0.36, allocations: 0.5846 MB / 0.4902 GB, free: 43.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.3602, allocations: 0.7735 MB / 0.491 GB, free: 42.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.3603, allocations: 33.56 kB / 0.491 GB, free: 42.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6e-05/0.3604, allocations: 31.22 kB / 0.491 GB, free: 42.39 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3604, allocations: 0 / 0.491 GB, free: 42.39 MB / 378.7 MB Notification: Performance of Templates: time 0.005883/0.3663, allocations: 2.581 MB / 0.4935 GB, free: 42.16 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches