Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 106.2 kB / 16.93 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 185.1 kB / 17.86 MB, free: 5.164 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.1 MB / 223.7 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2107/0.2107, allocations: 43.52 MB / 314.6 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 63.92 kB / 383.4 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1211, allocations: 57.78 MB / 441.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.00358/0.1248, allocations: 1.785 MB / 443 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1263, allocations: 0.874 MB / 443.9 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.1264, allocations: 7.938 kB / 443.9 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004899/0.1269, allocations: 299.3 kB / 444.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003783/0.1274, allocations: 207.4 kB / 444.4 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003778/0.1278, allocations: 135.6 kB / 444.5 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004188/0.1282, allocations: 235.5 kB / 444.7 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.725e-05/0.1283, allocations: 21.47 kB / 444.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.1285, allocations: 119.6 kB / 444.9 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.1288, allocations: 192 kB / 445 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.148e-05/0.1288, allocations: 8 kB / 445.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.1289, allocations: 43.94 kB / 445.1 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.1291, allocations: 128.6 kB / 445.2 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.1292, allocations: 142.8 kB / 445.4 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.1296, allocations: 351 kB / 445.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.1296, allocations: 0 / 445.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1296, allocations: 4 kB / 445.7 MB, free: 2.359 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.73e-05/0.1296, allocations: 0 / 445.7 MB, free: 2.359 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009719/0.1306, allocations: 0.7229 MB / 446.4 MB, free: 1.586 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.1307, allocations: 11.89 kB / 446.4 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.1308, allocations: 48.38 kB / 446.5 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005522/0.1314, allocations: 447.7 kB / 446.9 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.1314, allocations: 8.375 kB / 446.9 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.1314, allocations: 4.125 kB / 446.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.1317, allocations: 87.31 kB / 447 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.1317, allocations: 4 kB / 447 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.1317, allocations: 3.984 kB / 447 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.1317, allocations: 0 / 447 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.1319, allocations: 27.98 kB / 447.1 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.1323, allocations: 366.4 kB / 447.4 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.1326, allocations: 109.2 kB / 447.5 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.741e-05/0.1327, allocations: 41.64 kB / 447.6 MB, free: 332 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.1327, allocations: 0 / 447.6 MB, free: 332 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003128/0.133, allocations: 116.9 kB / 447.7 MB, free: 196 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.133, allocations: 0 / 447.7 MB, free: 196 kB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005017/0.1335, allocations: 197.1 kB / 447.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.1336, allocations: 81.11 kB / 448 MB, free: 15.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.1348, allocations: 1.007 MB / 449 MB, free: 14.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.1349, allocations: 33.7 kB / 449 MB, free: 14.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.1351, allocations: 228.1 kB / 449.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.168e-05/0.1351, allocations: 31.64 kB / 449.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-05/0.1352, allocations: 21.72 kB / 449.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.1354, allocations: 370.8 kB / 449.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.567e-05/0.1355, allocations: 27.98 kB / 449.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.1356, allocations: 66.22 kB / 449.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.1358, allocations: 83.42 kB / 449.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1359, allocations: 0 / 449.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003627/0.1362, allocations: 176.9 kB / 450 MB, free: 13.81 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.1363, allocations: 12.06 kB / 450 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1363, allocations: 0 / 450 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.1363, allocations: 0 / 450 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.1364, allocations: 24.61 kB / 450 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.1364, allocations: 0 / 450 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.1366, allocations: 7.906 kB / 450 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.1366, allocations: 4 kB / 450 MB, free: 13.76 MB / 334.1 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 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 0.0002508/0.1368, allocations: 233.6 kB / 450.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-05/0.1369, allocations: 51.34 kB / 450.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.137, allocations: 67.78 kB / 450.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.1371, allocations: 0 / 450.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.1371, allocations: 0 / 450.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1371, allocations: 0 / 450.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003722/0.1375, allocations: 349.3 kB / 450.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.1375, allocations: 0 / 450.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.614e-05/0.1375, allocations: 4 kB / 450.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1375, allocations: 4 kB / 450.7 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.1375, allocations: 0 / 450.7 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1376, allocations: 4 kB / 450.7 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.1376, allocations: 0 / 450.7 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.1379, allocations: 209.2 kB / 450.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.1381, allocations: 140.4 kB / 451.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.843e-05/0.1382, allocations: 0 / 451.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.82e-05/0.1383, allocations: 4 kB / 451.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.1383, allocations: 15.92 kB / 451.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1383, allocations: 8 kB / 451.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008503/0.1392, allocations: 0.7487 MB / 451.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1392, allocations: 4 kB / 451.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002958/0.1395, allocations: 39.98 kB / 451.9 MB, free: 11.8 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001101/0.1406, allocations: 417.8 kB / 452.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002863/0.1409, allocations: 79.91 kB / 452.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1409, allocations: 128 / 452.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.1411, allocations: 51.91 kB / 452.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/0.1415, allocations: 75.45 kB / 452.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.143, allocations: 0.8881 MB / 453.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005228/0.1435, allocations: 0.8465 MB / 454.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.798e-05/0.1436, allocations: 23.44 kB / 454.2 MB, free: 9.457 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1436, allocations: 4 kB / 454.3 MB, free: 9.453 MB / 334.1 MB Notification: Performance of Templates: time 0.009902/0.1535, allocations: 4.96 MB / 459.2 MB, free: 4.488 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches