Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000893/0.000893, allocations: 169.7 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.397/1.397, allocations: 205.6 MB / 222.4 MB, free: 8.934 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.0007891/0.0007891, allocations: 92.03 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.3221/0.3221, allocations: 43.67 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003165, allocations: 19.98 kB / 432.3 MB, free: 4.777 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1081, allocations: 58.84 MB / 491.2 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002068/0.1102, allocations: 1.594 MB / 492.8 MB, free: 8.195 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.1116, allocations: 0.9394 MB / 493.7 MB, free: 7.211 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.062e-05/0.1117, allocations: 4 kB / 493.7 MB, free: 7.207 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.112, allocations: 35.83 kB / 493.7 MB, free: 7.172 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.1122, allocations: 51.77 kB / 493.8 MB, free: 7.121 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.1125, allocations: 91.83 kB / 493.9 MB, free: 7.031 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.1126, allocations: 119.6 kB / 494 MB, free: 6.914 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1128, allocations: 33.75 kB / 494 MB, free: 6.879 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.134e-05/0.1129, allocations: 59.64 kB / 494.1 MB, free: 6.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.097e-05/0.1129, allocations: 39.72 kB / 494.1 MB, free: 6.781 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.113, allocations: 4 kB / 494.1 MB, free: 6.777 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.868e-05/0.1131, allocations: 36 kB / 494.2 MB, free: 6.742 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.39e-05/0.1131, allocations: 19.91 kB / 494.2 MB, free: 6.723 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.664e-05/0.1132, allocations: 73.38 kB / 494.3 MB, free: 6.645 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.1134, allocations: 143.4 kB / 494.4 MB, free: 6.504 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1134, allocations: 0 / 494.4 MB, free: 6.504 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1135, allocations: 4 kB / 494.4 MB, free: 6.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1135, allocations: 0 / 494.4 MB, free: 6.5 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.000551/0.114, allocations: 456.2 kB / 494.8 MB, free: 6.004 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.1141, allocations: 8.031 kB / 494.9 MB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.1141, allocations: 20.73 kB / 494.9 MB, free: 5.977 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.1143, allocations: 220 kB / 495.1 MB, free: 5.723 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.1144, allocations: 12.38 kB / 495.1 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.1144, allocations: 12.12 kB / 495.1 MB, free: 5.699 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.1147, allocations: 116.2 kB / 495.2 MB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1147, allocations: 0 / 495.2 MB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1147, allocations: 0 / 495.2 MB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1147, allocations: 4 kB / 495.2 MB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.1149, allocations: 59.89 kB / 495.3 MB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005526/0.1154, allocations: 0.5009 MB / 495.8 MB, free: 4.949 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.1157, allocations: 90.67 kB / 495.9 MB, free: 4.852 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.737e-05/0.1158, allocations: 40.83 kB / 495.9 MB, free: 4.809 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.1159, allocations: 7.922 kB / 495.9 MB, free: 4.801 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.1161, allocations: 91.31 kB / 496 MB, free: 4.699 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.1161, allocations: 0 / 496 MB, free: 4.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003593/0.1165, allocations: 149.3 kB / 496.2 MB, free: 4.547 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.1165, allocations: 59.34 kB / 496.2 MB, free: 4.477 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.1167, allocations: 191.5 kB / 496.4 MB, free: 4.277 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.1167, allocations: 25.7 kB / 496.4 MB, free: 4.246 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.849e-05/0.1168, allocations: 123.9 kB / 496.6 MB, free: 4.121 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.1168, allocations: 19.72 kB / 496.6 MB, free: 4.102 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/0.1168, allocations: 4 kB / 496.6 MB, free: 4.098 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.117, allocations: 322.8 kB / 496.9 MB, free: 3.773 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.501e-05/0.117, allocations: 31.97 kB / 496.9 MB, free: 3.742 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.665e-05/0.1171, allocations: 68.28 kB / 497 MB, free: 3.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.1173, allocations: 104.1 kB / 497.1 MB, free: 3.543 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1174, allocations: 0 / 497.1 MB, free: 3.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002587/0.1176, allocations: 141.3 kB / 497.2 MB, free: 3.398 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.1176, allocations: 4 kB / 497.2 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1176, allocations: 0 / 497.2 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1177, allocations: 4.125 kB / 497.2 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1178, allocations: 31.92 kB / 497.3 MB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1178, allocations: 0 / 497.3 MB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.731e-05/0.1179, allocations: 16.31 kB / 497.3 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.1179, allocations: 4 kB / 497.3 MB, free: 3.34 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.05e-05/0.118, allocations: 129.8 kB / 497.4 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.118, allocations: 11.91 kB / 497.4 MB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.282e-05/0.1181, allocations: 21.39 kB / 497.4 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1181, allocations: 11.88 kB / 497.5 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1181, allocations: 0 / 497.5 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1181, allocations: 0 / 497.5 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.1183, allocations: 213.5 kB / 497.7 MB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1183, allocations: 0 / 497.7 MB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.183e-05/0.1184, allocations: 12 kB / 497.7 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1184, allocations: 0 / 497.7 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.1184, allocations: 3.984 kB / 497.7 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.88e-06/0.1184, allocations: 7.938 kB / 497.7 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1184, allocations: 0 / 497.7 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.1188, allocations: 184.9 kB / 497.9 MB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.1188, allocations: 100.8 kB / 498 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.1189, allocations: 4 kB / 498 MB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.487e-05/0.1189, allocations: 15.94 kB / 498 MB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.119, allocations: 12.05 kB / 498 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.119, allocations: 4 kB / 498 MB, free: 2.527 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001108/0.1191, allocations: 141.2 kB / 498.1 MB, free: 2.391 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1191, allocations: 0 / 498.1 MB, free: 2.391 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002077/0.1193, allocations: 24 kB / 498.2 MB, free: 2.367 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.0008451/0.1202, allocations: 462.6 kB / 498.6 MB, free: 2.031 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002328/0.1204, allocations: 87.89 kB / 498.7 MB, free: 1.945 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1205, allocations: 0 / 498.7 MB, free: 1.945 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.307e-05/0.1205, allocations: 40.2 kB / 498.7 MB, free: 1.906 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.1208, allocations: 43.53 kB / 498.8 MB, free: 1.867 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004619/0.1213, allocations: 313.8 kB / 499.1 MB, free: 1.535 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.1215, allocations: 0.7161 MB / 499.8 MB, free: 0.793 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.032e-05/0.1216, allocations: 21.42 kB / 499.8 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.1217, allocations: 19.42 kB / 499.8 MB, free: 0.75 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1217, allocations: 0 / 499.8 MB, free: 0.75 MB / 378.7 MB Notification: Performance of Templates: time 0.164/0.2856, allocations: 1.753 MB / 0.4898 GB, free: 42.75 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches