Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008636/0.0008637, allocations: 179.3 kB / 16.72 MB, free: 5.078 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.262/1.262, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007214/0.0007215, allocations: 86.44 kB / 271.2 MB, free: 8.246 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.3499/0.3499, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003916, allocations: 20 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1157, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.001849/0.1176, allocations: 1.398 MB / 492.2 MB, free: 9.484 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.1187, allocations: 0.75 MB / 493 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.833e-05/0.1188, allocations: 8 kB / 493 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.1191, allocations: 23.91 kB / 493 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.1193, allocations: 47.83 kB / 493.1 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.1195, allocations: 67.84 kB / 493.1 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.1196, allocations: 87.69 kB / 493.2 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.798e-05/0.1197, allocations: 12.22 kB / 493.2 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.107e-05/0.1198, allocations: 39.78 kB / 493.3 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.395e-05/0.1199, allocations: 35.84 kB / 493.3 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.1199, allocations: 0 / 493.3 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.869e-05/0.12, allocations: 31.98 kB / 493.3 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.352e-05/0.1201, allocations: 19.92 kB / 493.3 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.86e-05/0.1201, allocations: 57.45 kB / 493.4 MB, free: 8.289 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.1203, allocations: 80.09 kB / 493.5 MB, free: 8.211 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.1203, allocations: 0 / 493.5 MB, free: 8.211 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1203, allocations: 3.938 kB / 493.5 MB, free: 8.207 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.1203, allocations: 0 / 493.5 MB, free: 8.207 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005135/0.1208, allocations: 403.1 kB / 493.9 MB, free: 7.766 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1209, allocations: 12.03 kB / 493.9 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.1209, allocations: 8.844 kB / 493.9 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.1211, allocations: 208 kB / 494.1 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1212, allocations: 4.375 kB / 494.1 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.1212, allocations: 8.109 kB / 494.1 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.1213, allocations: 53.67 kB / 494.2 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1214, allocations: 7.938 kB / 494.2 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1214, allocations: 3.938 kB / 494.2 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1214, allocations: 4 kB / 494.2 MB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.826e-05/0.1215, allocations: 15.98 kB / 494.2 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.1218, allocations: 284.9 kB / 494.5 MB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.122, allocations: 50.69 kB / 494.5 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.117e-05/0.1221, allocations: 32.78 kB / 494.6 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.1221, allocations: 0 / 494.6 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.1223, allocations: 75.23 kB / 494.6 MB, free: 6.895 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.1223, allocations: 0 / 494.6 MB, free: 6.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005049/0.1228, allocations: 165.3 kB / 494.8 MB, free: 6.727 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.1228, allocations: 55.41 kB / 494.8 MB, free: 6.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.123, allocations: 186.1 kB / 495 MB, free: 6.465 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.123, allocations: 33.7 kB / 495.1 MB, free: 6.426 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/0.1231, allocations: 100.1 kB / 495.2 MB, free: 6.324 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.1231, allocations: 27.64 kB / 495.2 MB, free: 6.297 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.1232, allocations: 0 / 495.2 MB, free: 6.297 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1233, allocations: 326.8 kB / 495.5 MB, free: 5.969 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.63e-05/0.1233, allocations: 23.98 kB / 495.5 MB, free: 5.945 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.854e-05/0.1234, allocations: 33.7 kB / 495.6 MB, free: 5.906 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.1235, allocations: 61.72 kB / 495.6 MB, free: 5.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1235, allocations: 0 / 495.6 MB, free: 5.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001766/0.1237, allocations: 105.5 kB / 495.7 MB, free: 5.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1237, allocations: 4 kB / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1237, allocations: 0 / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1238, allocations: 0 / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/0.1238, allocations: 19.98 kB / 495.7 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1239, allocations: 0 / 495.7 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.021e-05/0.1239, allocations: 11.97 kB / 495.8 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.1239, allocations: 4 kB / 495.8 MB, free: 5.691 MB / 378.7 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 ($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 (10): * Single equations (assignments): 10 * 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.0001087/0.124, allocations: 133.6 kB / 495.9 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.1241, allocations: 7.906 kB / 495.9 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.1241, allocations: 12.72 kB / 495.9 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1241, allocations: 0 / 495.9 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.1241, allocations: 7.938 kB / 495.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.1241, allocations: 7.922 kB / 495.9 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.1246, allocations: 395.2 kB / 496.3 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.1246, allocations: 3.984 kB / 496.3 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.99e-05/0.1247, allocations: 11.94 kB / 496.3 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1247, allocations: 0 / 496.3 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.1247, allocations: 7.938 kB / 496.3 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1247, allocations: 0 / 496.3 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1247, allocations: 0 / 496.3 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.1249, allocations: 204.3 kB / 496.5 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.125, allocations: 93.09 kB / 496.6 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.125, allocations: 7.938 kB / 496.6 MB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.681e-05/0.1251, allocations: 7.938 kB / 496.6 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.1251, allocations: 11.92 kB / 496.7 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.1252, allocations: 4.375 kB / 496.7 MB, free: 4.695 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001199/0.1253, allocations: 148 kB / 496.8 MB, free: 4.551 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1253, allocations: 4 kB / 496.8 MB, free: 4.547 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002423/0.1255, allocations: 24 kB / 496.8 MB, free: 4.523 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0009358/0.1265, allocations: 457.5 kB / 497.3 MB, free: 4.117 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001604/0.1266, allocations: 67.88 kB / 497.3 MB, free: 4.051 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.1267, allocations: 4 kB / 497.3 MB, free: 4.047 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.595e-05/0.1267, allocations: 27.98 kB / 497.4 MB, free: 4.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.1271, allocations: 23.98 kB / 497.4 MB, free: 3.996 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004471/0.1275, allocations: 260.2 kB / 497.7 MB, free: 3.707 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.1278, allocations: 0.7004 MB / 498.4 MB, free: 2.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.1278, allocations: 19.42 kB / 498.4 MB, free: 2.961 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1278, allocations: 0 / 498.4 MB, free: 2.961 MB / 378.7 MB Notification: Performance of Templates: time 0.003258/0.1311, allocations: 1.879 MB / 0.4885 GB, free: 1.082 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches