Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 109.9 kB / 18.3 MB, free: 4.883 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.001745/0.001745, allocations: 195.5 kB / 19.23 MB, free: 3.961 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.384/1.384, allocations: 222.9 MB / 242.9 MB, free: 15.19 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.2306/0.2306, allocations: 44.18 MB / 337.3 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 70.11 kB / 409.1 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1167, allocations: 60.83 MB / 469.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003777/0.1205, allocations: 1.642 MB / 471.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.1221, allocations: 0.8534 MB / 472.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.1223, allocations: 0 / 472.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004005/0.1227, allocations: 51.81 kB / 472.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004207/0.1232, allocations: 71.69 kB / 472.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.1236, allocations: 103.7 kB / 472.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.1239, allocations: 95.69 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.508e-05/0.1239, allocations: 7.984 kB / 472.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.1241, allocations: 43.78 kB / 472.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.1242, allocations: 39.78 kB / 472.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.1242, allocations: 4 kB / 472.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.1244, allocations: 27.98 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.871e-05/0.1245, allocations: 19.97 kB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.937e-05/0.1246, allocations: 31.75 kB / 472.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.1248, allocations: 96 kB / 473 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1248, allocations: 0 / 473 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1248, allocations: 0 / 473 MB, free: 11.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.1249, allocations: 0 / 473 MB, free: 11.23 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.0006947/0.1256, allocations: 405.9 kB / 473.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1256, allocations: 12.03 kB / 473.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.312e-05/0.1257, allocations: 8.844 kB / 473.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.1259, allocations: 208 kB / 473.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.126, allocations: 384 / 473.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.126, allocations: 12.11 kB / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.1261, allocations: 45.69 kB / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1262, allocations: 0 / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1262, allocations: 0 / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1262, allocations: 4 kB / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.778e-05/0.1263, allocations: 15.98 kB / 473.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002276/0.1265, allocations: 181.6 kB / 473.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.1267, allocations: 54.61 kB / 473.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.006e-05/0.1268, allocations: 20.8 kB / 474 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.1268, allocations: 0 / 474 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002436/0.127, allocations: 67.39 kB / 474 MB, free: 10.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.422e-06/0.1271, allocations: 4 kB / 474 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003043/0.1274, allocations: 101.5 kB / 474.1 MB, free: 9.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.1274, allocations: 51.41 kB / 474.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.1276, allocations: 171.5 kB / 474.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.1276, allocations: 25.7 kB / 474.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.393e-05/0.1277, allocations: 104.1 kB / 474.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.1277, allocations: 11.75 kB / 474.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.1278, allocations: 17.72 kB / 474.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1279, allocations: 330.8 kB / 474.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.254e-05/0.128, allocations: 15.98 kB / 474.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.443e-05/0.1281, allocations: 33.69 kB / 474.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.1282, allocations: 45.64 kB / 474.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.1282, allocations: 0 / 474.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001739/0.1284, allocations: 85.41 kB / 475 MB, free: 9.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1284, allocations: 16.02 kB / 475 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1284, allocations: 0 / 475 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.1284, allocations: 0 / 475 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.063e-05/0.1285, allocations: 8 kB / 475 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.1285, allocations: 4 kB / 475 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.1286, allocations: 0 / 475 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.1286, allocations: 4 kB / 475 MB, free: 8.98 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.000119/0.1287, allocations: 129.8 kB / 475.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.1288, allocations: 11.81 kB / 475.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.85e-05/0.1288, allocations: 12.31 kB / 475.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1288, allocations: 0 / 475.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.85e-06/0.1288, allocations: 3.984 kB / 475.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.1288, allocations: 0 / 475.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.129, allocations: 185.6 kB / 475.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.129, allocations: 3.984 kB / 475.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.083e-05/0.1291, allocations: 4.25 kB / 475.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.1291, allocations: 4 kB / 475.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1291, allocations: 7.938 kB / 475.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1291, allocations: 0 / 475.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1291, allocations: 4 kB / 475.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.1293, allocations: 109 kB / 475.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.946e-05/0.1294, allocations: 85.02 kB / 475.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.1294, allocations: 3.984 kB / 475.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.54e-05/0.1294, allocations: 0 / 475.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.1295, allocations: 8 kB / 475.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.1295, allocations: 4 kB / 475.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.1296, allocations: 135.1 kB / 475.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1297, allocations: 0 / 475.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002343/0.1299, allocations: 24 kB / 475.8 MB, free: 8.16 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.001014/0.1309, allocations: 408 kB / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.1311, allocations: 47.92 kB / 476.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1311, allocations: 0 / 476.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.15e-05/0.1312, allocations: 23.92 kB / 476.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.1315, allocations: 34.98 kB / 476.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/0.1319, allocations: 215.6 kB / 476.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.1322, allocations: 0.704 MB / 477.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.1323, allocations: 15.44 kB / 477.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1323, allocations: 0 / 477.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of Templates: time 0.003868/0.1361, allocations: 1.644 MB / 478.8 MB, free: 5.184 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches