Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.000995/0.0009951, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 242.9 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2091/0.2091, allocations: 44.19 MB / 337.3 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 64.06 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1109, allocations: 60.82 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002988/0.1139, allocations: 1.669 MB / 471.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.1153, allocations: 0.8496 MB / 472.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.959e-05/0.1154, allocations: 4 kB / 472.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.1157, allocations: 55.75 kB / 472.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.1159, allocations: 59.69 kB / 472.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.1162, allocations: 107.2 kB / 472.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.1163, allocations: 87.7 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.1164, allocations: 12 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.559e-05/0.1165, allocations: 43.83 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.165e-05/0.1165, allocations: 27.8 kB / 472.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.1166, allocations: 4 kB / 472.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.75e-05/0.1166, allocations: 28 kB / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.722e-05/0.1167, allocations: 31.89 kB / 472.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.204e-05/0.1168, allocations: 35.75 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.117, allocations: 119.8 kB / 473.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.117, allocations: 0 / 473.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.117, allocations: 0 / 473.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.117, allocations: 4 kB / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000533/0.1175, allocations: 430.8 kB / 473.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.1176, allocations: 8.031 kB / 473.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.012e-05/0.1176, allocations: 16.75 kB / 473.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.1178, allocations: 215.9 kB / 473.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1179, allocations: 384 / 473.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.1179, allocations: 8.125 kB / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.118, allocations: 53.67 kB / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.118, allocations: 7.938 kB / 473.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.1181, allocations: 0 / 473.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.1181, allocations: 0 / 473.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.458e-05/0.1181, allocations: 15.98 kB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001863/0.1183, allocations: 185.7 kB / 474 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.1185, allocations: 54.61 kB / 474 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.998e-05/0.1186, allocations: 24.8 kB / 474.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.1186, allocations: 0 / 474.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.1188, allocations: 71.31 kB / 474.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.1188, allocations: 0 / 474.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002802/0.1191, allocations: 93.48 kB / 474.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.1192, allocations: 59.41 kB / 474.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.1194, allocations: 262.9 kB / 474.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1194, allocations: 29.7 kB / 474.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.962e-05/0.1195, allocations: 112.1 kB / 474.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.1195, allocations: 3.906 kB / 474.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.1196, allocations: 17.72 kB / 474.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1197, allocations: 334.8 kB / 475 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.092e-05/0.1198, allocations: 15.94 kB / 475 MB, free: 9.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.239e-05/0.1198, allocations: 25.7 kB / 475.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.917e-05/0.1199, allocations: 45.7 kB / 475.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.12, allocations: 7.875 kB / 475.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001595/0.1201, allocations: 89.38 kB / 475.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1201, allocations: 8 kB / 475.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1202, allocations: 0 / 475.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1202, allocations: 320 / 475.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.783e-05/0.1203, allocations: 8 kB / 475.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1203, allocations: 0 / 475.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.235e-05/0.1203, allocations: 23.95 kB / 475.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.1203, allocations: 4 kB / 475.2 MB, free: 8.789 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001164/0.1205, allocations: 136.7 kB / 475.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.1205, allocations: 19.75 kB / 475.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.304e-05/0.1205, allocations: 17 kB / 475.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1206, allocations: 3.984 kB / 475.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1206, allocations: 0 / 475.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1206, allocations: 0 / 475.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.1207, allocations: 201.5 kB / 475.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1207, allocations: 4 kB / 475.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.036e-05/0.1208, allocations: 4 kB / 475.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1208, allocations: 0 / 475.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.1208, allocations: 4 kB / 475.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1208, allocations: 0 / 475.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1208, allocations: 0 / 475.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.121, allocations: 112.9 kB / 475.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.121, allocations: 88.92 kB / 475.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.1211, allocations: 4 kB / 475.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.018e-05/0.1211, allocations: 7.984 kB / 475.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.1212, allocations: 4 kB / 475.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.1212, allocations: 7.938 kB / 475.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001604/0.1213, allocations: 196.2 kB / 476 MB, free: 7.898 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1214, allocations: 0 / 476 MB, free: 7.898 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002219/0.1216, allocations: 19.98 kB / 476.1 MB, free: 7.879 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.0009618/0.1225, allocations: 401.1 kB / 476.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.1227, allocations: 39.98 kB / 476.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1227, allocations: 0 / 476.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.37e-05/0.1228, allocations: 23.92 kB / 476.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.1231, allocations: 38.7 kB / 476.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005132/0.1236, allocations: 292.4 kB / 476.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.124, allocations: 0.7119 MB / 477.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/0.124, allocations: 15.44 kB / 477.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.124, allocations: 0 / 477.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of Templates: time 0.003707/0.1277, allocations: 1.834 MB / 479.4 MB, free: 4.645 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches