Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008973/0.0008973, allocations: 175 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.4 MB / 222.9 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007714/0.0007715, allocations: 94.33 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3339/0.3339, allocations: 43.56 MB / 363.1 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003756, allocations: 12 kB / 432 MB, free: 5.594 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1178, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002154/0.12, allocations: 1.476 MB / 492.3 MB, free: 9.168 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.1219, allocations: 1.399 MB / 493.7 MB, free: 7.758 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.836e-05/0.122, allocations: 3.938 kB / 493.7 MB, free: 7.754 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.1223, allocations: 47.81 kB / 493.7 MB, free: 7.707 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.1225, allocations: 71.67 kB / 493.8 MB, free: 7.637 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.1229, allocations: 123.8 kB / 493.9 MB, free: 7.516 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.1231, allocations: 159.5 kB / 494.1 MB, free: 7.359 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.37e-05/0.1232, allocations: 13.53 kB / 494.1 MB, free: 7.344 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.1233, allocations: 71.64 kB / 494.2 MB, free: 7.273 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.1235, allocations: 67.34 kB / 494.2 MB, free: 7.211 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.1235, allocations: 4 kB / 494.2 MB, free: 7.207 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.1237, allocations: 55.91 kB / 494.3 MB, free: 7.152 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.1237, allocations: 23.92 kB / 494.3 MB, free: 7.129 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.271e-05/0.1238, allocations: 81.34 kB / 494.4 MB, free: 7.043 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.124, allocations: 128 kB / 494.5 MB, free: 6.918 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.124, allocations: 0 / 494.5 MB, free: 6.918 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.124, allocations: 0 / 494.5 MB, free: 6.918 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.124, allocations: 0 / 494.5 MB, free: 6.918 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005782/0.1246, allocations: 442.9 kB / 495 MB, free: 6.438 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1247, allocations: 11.97 kB / 495 MB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.1247, allocations: 16.75 kB / 495 MB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.125, allocations: 251.5 kB / 495.2 MB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.125, allocations: 8.375 kB / 495.2 MB, free: 6.117 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.1251, allocations: 8.109 kB / 495.3 MB, free: 6.109 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.1253, allocations: 97.03 kB / 495.3 MB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.1253, allocations: 0 / 495.3 MB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.1253, allocations: 0 / 495.3 MB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1253, allocations: 4 kB / 495.4 MB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.1254, allocations: 35.97 kB / 495.4 MB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002281/0.1257, allocations: 218.4 kB / 495.6 MB, free: 5.691 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.1259, allocations: 101.2 kB / 495.7 MB, free: 5.574 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.451e-05/0.126, allocations: 45.64 kB / 495.7 MB, free: 5.523 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.126, allocations: 7.984 kB / 495.8 MB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.1263, allocations: 109 kB / 495.9 MB, free: 5.391 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.1263, allocations: 0 / 495.9 MB, free: 5.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003935/0.1267, allocations: 165.4 kB / 496 MB, free: 5.223 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.1268, allocations: 132.5 kB / 496.1 MB, free: 5.062 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.127, allocations: 211.8 kB / 496.4 MB, free: 4.844 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.127, allocations: 25.7 kB / 496.4 MB, free: 4.812 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.086e-05/0.1271, allocations: 116.1 kB / 496.5 MB, free: 4.695 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.1271, allocations: 27.7 kB / 496.5 MB, free: 4.668 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-06/0.1271, allocations: 0 / 496.5 MB, free: 4.668 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1273, allocations: 334.8 kB / 496.8 MB, free: 4.332 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.516e-05/0.1273, allocations: 27.98 kB / 496.9 MB, free: 4.305 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.68e-05/0.1274, allocations: 65.14 kB / 496.9 MB, free: 4.223 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.1276, allocations: 91.38 kB / 497 MB, free: 4.121 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1276, allocations: 4 kB / 497 MB, free: 4.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002348/0.1279, allocations: 137.2 kB / 497.2 MB, free: 3.977 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1279, allocations: 8 kB / 497.2 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1279, allocations: 0 / 497.2 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1279, allocations: 0 / 497.2 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.128, allocations: 23.98 kB / 497.2 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.128, allocations: 0 / 497.2 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.601e-05/0.1281, allocations: 23.94 kB / 497.2 MB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.1281, allocations: 4.625 kB / 497.2 MB, free: 3.918 MB / 378.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: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.1282, allocations: 141.7 kB / 497.4 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.1283, allocations: 15.81 kB / 497.4 MB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.458e-05/0.1283, allocations: 20.98 kB / 497.4 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1283, allocations: 0 / 497.4 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1283, allocations: 0 / 497.4 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1284, allocations: 4 kB / 497.4 MB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.1285, allocations: 225.4 kB / 497.6 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1285, allocations: 7.984 kB / 497.6 MB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.819e-05/0.1286, allocations: 4 kB / 497.6 MB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1286, allocations: 4 kB / 497.6 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.1286, allocations: 7.938 kB / 497.6 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1286, allocations: 0 / 497.6 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1286, allocations: 4 kB / 497.7 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.1289, allocations: 173.6 kB / 497.8 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-05/0.129, allocations: 100.8 kB / 497.9 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.129, allocations: 4 kB / 497.9 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.432e-05/0.1291, allocations: 8 kB / 497.9 MB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.1291, allocations: 7.984 kB / 497.9 MB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.1291, allocations: 4 kB / 497.9 MB, free: 3.102 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001466/0.1293, allocations: 165.4 kB / 498.1 MB, free: 2.941 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1293, allocations: 0 / 498.1 MB, free: 2.941 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002415/0.1296, allocations: 40 kB / 498.1 MB, free: 2.902 MB / 378.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009293/0.1305, allocations: 462.5 kB / 498.6 MB, free: 2.492 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.1307, allocations: 75.91 kB / 498.7 MB, free: 2.418 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1307, allocations: 4 kB / 498.7 MB, free: 2.414 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.1309, allocations: 40.05 kB / 498.7 MB, free: 2.375 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.1312, allocations: 55.83 kB / 498.8 MB, free: 2.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004914/0.1317, allocations: 308.8 kB / 499.1 MB, free: 1.984 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.132, allocations: 0.7127 MB / 499.8 MB, free: 1.246 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.132, allocations: 27.42 kB / 499.8 MB, free: 1.219 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.132, allocations: 8 kB / 499.8 MB, free: 1.211 MB / 378.7 MB Notification: Performance of Templates: time 0.1905/0.3226, allocations: 2.671 MB / 0.4907 GB, free: 42.03 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches