Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001465/0.001465, allocations: 177.2 kB / 16.41 MB, free: 5.703 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.277/1.277, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0007379/0.0007379, allocations: 79.88 kB / 270.9 MB, free: 8.355 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.3091/0.3091, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003354, allocations: 16 kB / 431.4 MB, free: 5.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1178, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002082/0.1199, allocations: 1.586 MB / 491.8 MB, free: 9.383 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.1211, allocations: 0.7771 MB / 492.6 MB, free: 8.598 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.073e-05/0.1212, allocations: 0 / 492.6 MB, free: 8.598 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.1215, allocations: 39.83 kB / 492.6 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.1217, allocations: 47.77 kB / 492.7 MB, free: 8.512 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.122, allocations: 87.84 kB / 492.8 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.1222, allocations: 123.6 kB / 492.9 MB, free: 8.305 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1223, allocations: 25.47 kB / 492.9 MB, free: 8.277 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.828e-05/0.1224, allocations: 47.73 kB / 493 MB, free: 8.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.796e-05/0.1225, allocations: 43.77 kB / 493 MB, free: 8.188 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.1225, allocations: 4 kB / 493 MB, free: 8.184 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.921e-05/0.1226, allocations: 39.92 kB / 493.1 MB, free: 8.145 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.119e-05/0.1226, allocations: 15.92 kB / 493.1 MB, free: 8.129 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.514e-05/0.1227, allocations: 45.64 kB / 493.1 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.1229, allocations: 108 kB / 493.2 MB, free: 7.973 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1229, allocations: 0 / 493.2 MB, free: 7.973 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1229, allocations: 0 / 493.2 MB, free: 7.973 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1229, allocations: 4 kB / 493.2 MB, free: 7.969 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.0006041/0.1235, allocations: 460.4 kB / 493.7 MB, free: 7.465 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.1236, allocations: 12.03 kB / 493.7 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/0.1236, allocations: 11.81 kB / 493.7 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.1239, allocations: 226.8 kB / 493.9 MB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1239, allocations: 4 kB / 493.9 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.1239, allocations: 8 kB / 493.9 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.1242, allocations: 116 kB / 494 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.1242, allocations: 0 / 494 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.1242, allocations: 4 kB / 494.1 MB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1242, allocations: 3.953 kB / 494.1 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.1244, allocations: 51.97 kB / 494.1 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005855/0.125, allocations: 0.5087 MB / 494.6 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.1253, allocations: 90.59 kB / 494.7 MB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.1255, allocations: 40.84 kB / 494.7 MB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.1255, allocations: 4 kB / 494.7 MB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002299/0.1257, allocations: 91.23 kB / 494.8 MB, free: 6.172 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.1258, allocations: 4 kB / 494.8 MB, free: 6.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004068/0.1262, allocations: 149.4 kB / 495 MB, free: 6.016 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.1262, allocations: 51.41 kB / 495 MB, free: 5.953 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.1264, allocations: 187.5 kB / 495.2 MB, free: 5.758 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.1264, allocations: 25.7 kB / 495.2 MB, free: 5.727 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/0.1265, allocations: 112 kB / 495.4 MB, free: 5.613 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.1265, allocations: 31.55 kB / 495.4 MB, free: 5.582 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/0.1266, allocations: 8 kB / 495.4 MB, free: 5.574 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1267, allocations: 322.8 kB / 495.7 MB, free: 5.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.282e-05/0.1268, allocations: 35.92 kB / 495.7 MB, free: 5.215 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.1269, allocations: 64.39 kB / 495.8 MB, free: 5.137 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.127, allocations: 39.98 kB / 495.8 MB, free: 5.098 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.127, allocations: 3.953 kB / 495.8 MB, free: 5.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002632/0.1273, allocations: 133.4 kB / 496 MB, free: 4.957 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1273, allocations: 8.125 kB / 496 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.1273, allocations: 8 kB / 496 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1273, allocations: 3.984 kB / 496 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.1274, allocations: 24.41 kB / 496 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.1274, allocations: 7.984 kB / 496 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.01e-05/0.1275, allocations: 11.94 kB / 496 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1275, allocations: 4 kB / 496 MB, free: 4.891 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.1277, allocations: 133.1 kB / 496.2 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.1277, allocations: 35.62 kB / 496.2 MB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.1277, allocations: 13.41 kB / 496.2 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1277, allocations: 4 kB / 496.2 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1278, allocations: 0 / 496.2 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1278, allocations: 0 / 496.2 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.1279, allocations: 209.6 kB / 496.4 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1279, allocations: 0 / 496.4 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.667e-05/0.128, allocations: 15.94 kB / 496.4 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.128, allocations: 4 kB / 496.5 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.1281, allocations: 4 kB / 496.5 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1281, allocations: 4 kB / 496.5 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1281, allocations: 0 / 496.5 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.1284, allocations: 184.8 kB / 496.6 MB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/0.1285, allocations: 96.83 kB / 496.7 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.1285, allocations: 7.953 kB / 496.7 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-05/0.1286, allocations: 16.05 kB / 496.8 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.1287, allocations: 7.984 kB / 496.8 MB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.1287, allocations: 4 kB / 496.8 MB, free: 4.074 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001109/0.1288, allocations: 137.2 kB / 496.9 MB, free: 3.941 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1288, allocations: 0 / 496.9 MB, free: 3.941 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002142/0.129, allocations: 28 kB / 496.9 MB, free: 3.914 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 (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.0007909/0.1298, allocations: 417.9 kB / 497.3 MB, free: 3.543 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002436/0.1301, allocations: 83.89 kB / 497.4 MB, free: 3.461 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1301, allocations: 0 / 497.4 MB, free: 3.461 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.1302, allocations: 39.92 kB / 497.5 MB, free: 3.422 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.1305, allocations: 32.41 kB / 497.5 MB, free: 3.391 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005441/0.131, allocations: 323.2 kB / 497.8 MB, free: 3.043 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.1314, allocations: 0.7162 MB / 498.5 MB, free: 2.301 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.1314, allocations: 23.8 kB / 498.5 MB, free: 2.277 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1314, allocations: 0 / 498.5 MB, free: 2.277 MB / 378.7 MB Notification: Performance of Templates: time 0.003732/0.1352, allocations: 2.133 MB / 0.4889 GB, free: 148 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches