Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 178.5 kB / 16.72 MB, free: 4.961 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.348/1.348, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007044/0.0007045, allocations: 93.02 kB / 271.2 MB, free: 8.23 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.3203/0.3203, allocations: 43.57 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003829, allocations: 12 kB / 432 MB, free: 5.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1119, allocations: 58.84 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002114/0.114, allocations: 1.409 MB / 492.2 MB, free: 9.469 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.1153, allocations: 0.7422 MB / 493 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.1154, allocations: 0 / 493 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.1157, allocations: 43.86 kB / 493 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.1159, allocations: 51.83 kB / 493.1 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.1162, allocations: 75.84 kB / 493.1 MB, free: 8.551 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.1164, allocations: 87.69 kB / 493.2 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.133e-05/0.1165, allocations: 12.22 kB / 493.2 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.8e-05/0.1166, allocations: 39.78 kB / 493.3 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.958e-05/0.1167, allocations: 31.84 kB / 493.3 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.1167, allocations: 8 kB / 493.3 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.1168, allocations: 31.98 kB / 493.3 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.812e-05/0.1169, allocations: 19.92 kB / 493.4 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.946e-05/0.1169, allocations: 65.38 kB / 493.4 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.1171, allocations: 92.08 kB / 493.5 MB, free: 8.164 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1171, allocations: 0 / 493.5 MB, free: 8.164 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1171, allocations: 0 / 493.5 MB, free: 8.164 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1171, allocations: 4 kB / 493.5 MB, free: 8.16 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.0004791/0.1176, allocations: 399.1 kB / 493.9 MB, free: 7.723 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1177, allocations: 16.03 kB / 493.9 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.1177, allocations: 12.75 kB / 493.9 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.118, allocations: 212 kB / 494.1 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.118, allocations: 4.359 kB / 494.1 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.118, allocations: 12.03 kB / 494.2 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.1181, allocations: 53.67 kB / 494.2 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1182, allocations: 3.938 kB / 494.2 MB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1182, allocations: 0 / 494.2 MB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1182, allocations: 0 / 494.2 MB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.049e-05/0.1183, allocations: 19.98 kB / 494.2 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.1187, allocations: 304.8 kB / 494.5 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.1188, allocations: 62.66 kB / 494.6 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.331e-05/0.1189, allocations: 16.86 kB / 494.6 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.1189, allocations: 0 / 494.6 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.1191, allocations: 79.25 kB / 494.7 MB, free: 6.824 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.1192, allocations: 4 kB / 494.7 MB, free: 6.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005271/0.1197, allocations: 165.2 kB / 494.9 MB, free: 6.652 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.1197, allocations: 55.34 kB / 494.9 MB, free: 6.586 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.12, allocations: 218.7 kB / 495.1 MB, free: 6.359 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.12, allocations: 25.7 kB / 495.1 MB, free: 6.328 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.177e-05/0.12, allocations: 116.1 kB / 495.3 MB, free: 6.211 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.1201, allocations: 27.64 kB / 495.3 MB, free: 6.184 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.1201, allocations: 0 / 495.3 MB, free: 6.184 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1202, allocations: 326.8 kB / 495.6 MB, free: 5.855 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.835e-05/0.1203, allocations: 23.98 kB / 495.6 MB, free: 5.832 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.194e-05/0.1203, allocations: 33.7 kB / 495.7 MB, free: 5.793 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.1205, allocations: 57.66 kB / 495.7 MB, free: 5.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1205, allocations: 4 kB / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001822/0.1206, allocations: 101.6 kB / 495.8 MB, free: 5.621 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1207, allocations: 4 kB / 495.8 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1207, allocations: 0 / 495.8 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1207, allocations: 0 / 495.8 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.8e-05/0.1208, allocations: 19.94 kB / 495.8 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1208, allocations: 0 / 495.8 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.664e-05/0.1209, allocations: 15.92 kB / 495.9 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1209, allocations: 0 / 495.9 MB, free: 5.582 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.0001057/0.121, allocations: 137.5 kB / 496 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.121, allocations: 15.81 kB / 496 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.149e-05/0.1211, allocations: 13.41 kB / 496 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.1211, allocations: 4.375 kB / 496 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1211, allocations: 0 / 496 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.1211, allocations: 3.938 kB / 496 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004126/0.1215, allocations: 407.2 kB / 496.4 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1215, allocations: 0 / 496.4 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.134e-05/0.1216, allocations: 8 kB / 496.4 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1216, allocations: 0 / 496.4 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1216, allocations: 7.938 kB / 496.4 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.1216, allocations: 3.984 kB / 496.4 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1216, allocations: 3.938 kB / 496.5 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.1218, allocations: 204.5 kB / 496.7 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.1219, allocations: 89.11 kB / 496.7 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.1219, allocations: 11.94 kB / 496.8 MB, free: 4.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-05/0.122, allocations: 7.922 kB / 496.8 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.122, allocations: 4 kB / 496.8 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.1221, allocations: 4 kB / 496.8 MB, free: 4.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000135/0.1222, allocations: 172.3 kB / 496.9 MB, free: 4.402 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1222, allocations: 0 / 496.9 MB, free: 4.402 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002553/0.1225, allocations: 28 kB / 497 MB, free: 4.375 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.0009094/0.1234, allocations: 471.9 kB / 497.4 MB, free: 3.961 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001615/0.1236, allocations: 51.98 kB / 497.5 MB, free: 3.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1236, allocations: 4.062 kB / 497.5 MB, free: 3.906 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.847e-05/0.1237, allocations: 31.92 kB / 497.5 MB, free: 3.875 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.124, allocations: 19.98 kB / 497.5 MB, free: 3.855 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000479/0.1245, allocations: 299.9 kB / 497.8 MB, free: 3.527 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.1247, allocations: 0.716 MB / 498.5 MB, free: 2.785 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.1248, allocations: 15.44 kB / 498.6 MB, free: 2.773 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1248, allocations: 0 / 498.6 MB, free: 2.773 MB / 378.7 MB Notification: Performance of Templates: time 0.003543/0.1283, allocations: 1.96 MB / 0.4888 GB, free: 0.8203 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches