Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000902/0.0009021, 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.291/1.291, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007502/0.0007503, allocations: 92.92 kB / 271.2 MB, free: 8.25 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.3308/0.3308, allocations: 43.56 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003854, allocations: 12 kB / 432 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1087, allocations: 58.86 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.001915/0.1106, allocations: 1.398 MB / 492.2 MB, free: 9.473 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.1118, allocations: 0.7461 MB / 493 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.613e-05/0.1119, allocations: 3.938 kB / 493 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.1121, allocations: 27.91 kB / 493 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.1123, allocations: 51.83 kB / 493.1 MB, free: 8.637 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.1125, allocations: 75.83 kB / 493.1 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.1127, allocations: 83.7 kB / 493.2 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.85e-05/0.1128, allocations: 12.22 kB / 493.2 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.444e-05/0.1129, allocations: 47.77 kB / 493.3 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.617e-05/0.1129, allocations: 19.86 kB / 493.3 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.1129, allocations: 4 kB / 493.3 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.931e-05/0.113, allocations: 35.98 kB / 493.3 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.14e-05/0.1131, allocations: 23.84 kB / 493.3 MB, free: 8.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.443e-05/0.1131, allocations: 53.52 kB / 493.4 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.1133, allocations: 84.09 kB / 493.5 MB, free: 8.199 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1133, allocations: 0 / 493.5 MB, free: 8.199 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1133, allocations: 0 / 493.5 MB, free: 8.199 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1133, allocations: 0 / 493.5 MB, free: 8.199 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.0004607/0.1138, allocations: 403 kB / 493.9 MB, free: 7.758 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.1138, allocations: 8.031 kB / 493.9 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.1139, allocations: 12.84 kB / 493.9 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.1141, allocations: 208 kB / 494.1 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.1141, allocations: 8.359 kB / 494.1 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.1141, allocations: 4.125 kB / 494.1 MB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.1143, allocations: 57.61 kB / 494.2 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1143, allocations: 0 / 494.2 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.1143, allocations: 0 / 494.2 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1143, allocations: 4 kB / 494.2 MB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.95e-05/0.1144, allocations: 19.92 kB / 494.2 MB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.1148, allocations: 284.9 kB / 494.5 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.115, allocations: 54.69 kB / 494.5 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.115, allocations: 20.84 kB / 494.5 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.1151, allocations: 7.984 kB / 494.6 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.1153, allocations: 75.23 kB / 494.6 MB, free: 6.891 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1153, allocations: 0 / 494.6 MB, free: 6.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000531/0.1158, allocations: 169.3 kB / 494.8 MB, free: 6.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.1158, allocations: 51.41 kB / 494.8 MB, free: 6.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.116, allocations: 190.1 kB / 495 MB, free: 6.457 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1161, allocations: 33.7 kB / 495.1 MB, free: 6.418 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/0.1161, allocations: 100.1 kB / 495.2 MB, free: 6.316 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.1162, allocations: 27.66 kB / 495.2 MB, free: 6.289 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/0.1162, allocations: 0 / 495.2 MB, free: 6.289 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1163, allocations: 326.8 kB / 495.5 MB, free: 5.961 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.668e-05/0.1164, allocations: 23.98 kB / 495.5 MB, free: 5.938 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.899e-05/0.1164, allocations: 33.7 kB / 495.6 MB, free: 5.898 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.1165, allocations: 57.66 kB / 495.6 MB, free: 5.836 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1166, allocations: 4 kB / 495.6 MB, free: 5.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001714/0.1167, allocations: 97.56 kB / 495.7 MB, free: 5.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1168, allocations: 10.5 kB / 495.7 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1168, allocations: 0 / 495.7 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1168, allocations: 3.938 kB / 495.7 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.895e-05/0.1169, allocations: 15.98 kB / 495.7 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.1169, allocations: 4 kB / 495.7 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.1169, allocations: 7.938 kB / 495.8 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.117, allocations: 4 kB / 495.8 MB, free: 5.688 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.0001085/0.1171, allocations: 133.1 kB / 495.9 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.1171, allocations: 11.91 kB / 495.9 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.742e-05/0.1171, allocations: 12.72 kB / 495.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1172, allocations: 0 / 495.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.1172, allocations: 3.984 kB / 495.9 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.1172, allocations: 7.875 kB / 495.9 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004272/0.1176, allocations: 399.2 kB / 496.3 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1176, allocations: 3.984 kB / 496.3 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.181e-05/0.1177, allocations: 11.94 kB / 496.3 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1177, allocations: 0 / 496.3 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1177, allocations: 7.938 kB / 496.3 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1177, allocations: 0 / 496.3 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1177, allocations: 0 / 496.3 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.1179, allocations: 204.5 kB / 496.5 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.118, allocations: 96.91 kB / 496.6 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.118, allocations: 3.938 kB / 496.6 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-05/0.1181, allocations: 4 kB / 496.6 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.1181, allocations: 7.984 kB / 496.7 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.1181, allocations: 192 / 496.7 MB, free: 4.699 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001117/0.1183, allocations: 152 kB / 496.8 MB, free: 4.551 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.044e-06/0.1183, allocations: 3.938 kB / 496.8 MB, free: 4.547 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000245/0.1185, allocations: 27.94 kB / 496.8 MB, free: 4.52 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.0009361/0.1195, allocations: 458.9 kB / 497.3 MB, free: 4.105 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.1196, allocations: 59.97 kB / 497.3 MB, free: 4.047 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1197, allocations: 4.062 kB / 497.3 MB, free: 4.043 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.431e-05/0.1197, allocations: 27.92 kB / 497.4 MB, free: 4.016 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.1201, allocations: 23.98 kB / 497.4 MB, free: 3.992 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.1205, allocations: 260.2 kB / 497.6 MB, free: 3.703 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.1208, allocations: 0.7004 MB / 498.3 MB, free: 2.977 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.1208, allocations: 27.36 kB / 498.4 MB, free: 2.949 MB / 378.7 MB Notification: Performance of SimCode: time 3.7e-07/0.1208, allocations: 0 / 498.4 MB, free: 2.949 MB / 378.7 MB Notification: Performance of Templates: time 0.003242/0.1241, allocations: 1.863 MB / 0.4885 GB, free: 1.09 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches