Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 178.6 kB / 16.08 MB, free: 5.523 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.516/1.516, allocations: 205.6 MB / 222.4 MB, free: 13.66 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.0007172/0.0007171, allocations: 94.17 kB / 270.8 MB, free: 13.2 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.2588/0.2588, allocations: 43.68 MB / 362.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000427/0.0004271, allocations: 11.98 kB / 432.3 MB, free: 19.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.111, allocations: 58.86 MB / 491.2 MB, free: 8.129 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002126/0.1132, allocations: 1.61 MB / 492.8 MB, free: 6.504 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.1148, allocations: 1.143 MB / 493.9 MB, free: 5.297 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.997e-05/0.1149, allocations: 4 kB / 493.9 MB, free: 5.293 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005713/0.1155, allocations: 187.5 kB / 494.1 MB, free: 5.109 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.1158, allocations: 127.6 kB / 494.2 MB, free: 4.984 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.1164, allocations: 187.7 kB / 494.4 MB, free: 4.801 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.1167, allocations: 243.3 kB / 494.7 MB, free: 4.562 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.809e-05/0.1168, allocations: 21.67 kB / 494.7 MB, free: 4.539 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.1169, allocations: 99.48 kB / 494.8 MB, free: 4.441 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.1171, allocations: 95.59 kB / 494.9 MB, free: 4.348 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.1171, allocations: 4 kB / 494.9 MB, free: 4.344 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.1172, allocations: 51.92 kB / 494.9 MB, free: 4.293 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.731e-05/0.1173, allocations: 47.81 kB / 495 MB, free: 4.246 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.926e-05/0.1174, allocations: 101.2 kB / 495.1 MB, free: 4.141 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.1177, allocations: 227.3 kB / 495.3 MB, free: 3.918 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.414e-05/0.1177, allocations: 7.984 kB / 495.3 MB, free: 3.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1177, allocations: 0 / 495.3 MB, free: 3.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1177, allocations: 0 / 495.3 MB, free: 3.91 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006957/0.1184, allocations: 0.504 MB / 495.8 MB, free: 3.352 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1185, allocations: 16.03 kB / 495.8 MB, free: 3.336 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/0.1185, allocations: 20.66 kB / 495.8 MB, free: 3.316 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.1189, allocations: 287.5 kB / 496.1 MB, free: 3 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1189, allocations: 384 / 496.1 MB, free: 3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.1189, allocations: 12.12 kB / 496.1 MB, free: 2.988 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.1191, allocations: 100.2 kB / 496.2 MB, free: 2.875 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.1192, allocations: 0 / 496.2 MB, free: 2.875 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.1192, allocations: 4 kB / 496.2 MB, free: 2.871 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1192, allocations: 4 kB / 496.2 MB, free: 2.867 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.1193, allocations: 43.91 kB / 496.3 MB, free: 2.824 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.1198, allocations: 365.6 kB / 496.6 MB, free: 2.414 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.1201, allocations: 121.2 kB / 496.8 MB, free: 2.277 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1202, allocations: 41.69 kB / 496.8 MB, free: 2.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.1202, allocations: 0 / 496.8 MB, free: 2.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002063/0.1204, allocations: 125 kB / 496.9 MB, free: 2.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.1205, allocations: 0 / 496.9 MB, free: 2.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004213/0.1209, allocations: 177.3 kB / 497.1 MB, free: 1.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/0.121, allocations: 110.8 kB / 497.2 MB, free: 1.777 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.1213, allocations: 334.8 kB / 497.5 MB, free: 1.438 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.1213, allocations: 33.64 kB / 497.6 MB, free: 1.398 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.385e-05/0.1214, allocations: 148.2 kB / 497.7 MB, free: 1.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.1215, allocations: 19.73 kB / 497.7 MB, free: 1.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/0.1215, allocations: 4 kB / 497.7 MB, free: 1.227 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1216, allocations: 338.8 kB / 498.1 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.482e-05/0.1217, allocations: 27.98 kB / 498.1 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.1218, allocations: 81.06 kB / 498.2 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.122, allocations: 103.4 kB / 498.3 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.122, allocations: 0 / 498.3 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002693/0.1223, allocations: 137.3 kB / 498.4 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1223, allocations: 8 kB / 498.4 MB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1223, allocations: 4.062 kB / 498.4 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1223, allocations: 0 / 498.4 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.1225, allocations: 27.92 kB / 498.4 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1225, allocations: 0 / 498.4 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.403e-05/0.1226, allocations: 19.89 kB / 498.5 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.1226, allocations: 7.938 kB / 498.5 MB, free: 452 kB / 330.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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001345/0.1227, allocations: 150.3 kB / 498.6 MB, free: 292 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.1228, allocations: 23.72 kB / 498.6 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.561e-05/0.1228, allocations: 33.73 kB / 498.7 MB, free: 232 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1228, allocations: 0 / 498.7 MB, free: 232 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1229, allocations: 4 kB / 498.7 MB, free: 228 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.1229, allocations: 3.984 kB / 498.7 MB, free: 224 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.1231, allocations: 257.4 kB / 498.9 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1231, allocations: 3.984 kB / 498.9 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.1232, allocations: 4 kB / 498.9 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1232, allocations: 7.938 kB / 499 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1232, allocations: 0 / 499 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1232, allocations: 4 kB / 499 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1232, allocations: 0 / 499 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.1235, allocations: 193.5 kB / 499.1 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.676e-05/0.1236, allocations: 104.8 kB / 499.2 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.1236, allocations: 0 / 499.2 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.66e-05/0.1237, allocations: 4 kB / 499.3 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.1238, allocations: 15.98 kB / 499.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.1238, allocations: 15.92 kB / 499.3 MB, free: 15.53 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002512/0.124, allocations: 241.9 kB / 499.5 MB, free: 15.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1241, allocations: 0 / 499.5 MB, free: 15.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002507/0.1243, allocations: 39.91 kB / 499.6 MB, free: 15.26 MB / 346.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.0008766/0.1252, allocations: 492.2 kB / 0.4883 GB, free: 14.9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002464/0.1255, allocations: 87.91 kB / 0.4884 GB, free: 14.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1255, allocations: 4.125 kB / 0.4884 GB, free: 14.81 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.1256, allocations: 51.84 kB / 0.4885 GB, free: 14.76 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.126, allocations: 52.84 kB / 0.4885 GB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006146/0.1266, allocations: 419.4 kB / 0.4889 GB, free: 14.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.1269, allocations: 0.7478 MB / 0.4896 GB, free: 13.5 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.127, allocations: 37.86 kB / 0.4897 GB, free: 13.46 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.1271, allocations: 19.44 kB / 0.4897 GB, free: 13.44 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1271, allocations: 0 / 0.4897 GB, free: 13.44 MB / 346.7 MB Notification: Performance of Templates: time 0.006226/0.1333, allocations: 2.799 MB / 0.4924 GB, free: 10.66 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches