Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000914/0.0009138, allocations: 174.1 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.232/1.232, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0007108/0.0007109, allocations: 77.06 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.2755/0.2755, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003253, allocations: 16 kB / 432 MB, free: 5.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09748/0.09782, allocations: 58.84 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.001675/0.09956, allocations: 1.279 MB / 492.1 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004718/0.1, allocations: 299.7 kB / 492.4 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.335e-05/0.1001, allocations: 4 kB / 492.4 MB, free: 9.301 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.1003, allocations: 79.81 kB / 492.5 MB, free: 9.223 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.1005, allocations: 71.78 kB / 492.5 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.1007, allocations: 55.94 kB / 492.6 MB, free: 9.098 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.1008, allocations: 71.8 kB / 492.7 MB, free: 9.027 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.635e-05/0.1009, allocations: 20.17 kB / 492.7 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.187e-05/0.101, allocations: 39.83 kB / 492.7 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.115e-05/0.1011, allocations: 43.89 kB / 492.8 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.1011, allocations: 0 / 492.8 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.053e-05/0.1012, allocations: 27.92 kB / 492.8 MB, free: 8.898 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.524e-05/0.1012, allocations: 27.92 kB / 492.8 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.1012, allocations: 49.52 kB / 492.9 MB, free: 8.816 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.1014, allocations: 71.88 kB / 492.9 MB, free: 8.746 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1014, allocations: 0 / 492.9 MB, free: 8.746 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1014, allocations: 0 / 492.9 MB, free: 8.746 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.1014, allocations: 0 / 492.9 MB, free: 8.746 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.0004071/0.1018, allocations: 415.2 kB / 493.3 MB, free: 8.293 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.1019, allocations: 12.03 kB / 493.4 MB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.1019, allocations: 12.75 kB / 493.4 MB, free: 8.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.1021, allocations: 196.1 kB / 493.6 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.282e-06/0.1021, allocations: 384 / 493.6 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.1021, allocations: 4.375 kB / 493.6 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.1022, allocations: 61.61 kB / 493.6 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1023, allocations: 4 kB / 493.6 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.1023, allocations: 0 / 493.6 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1023, allocations: 4 kB / 493.6 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.1024, allocations: 39.91 kB / 493.7 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.1027, allocations: 304.7 kB / 494 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.1028, allocations: 50.56 kB / 494 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.184e-05/0.1029, allocations: 28.91 kB / 494 MB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.1029, allocations: 0 / 494 MB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.103, allocations: 30.56 kB / 494.1 MB, free: 7.445 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.103, allocations: 0 / 494.1 MB, free: 7.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005616/0.1035, allocations: 201.2 kB / 494.3 MB, free: 7.242 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.1036, allocations: 51.41 kB / 494.3 MB, free: 7.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.1038, allocations: 246.2 kB / 494.6 MB, free: 6.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.1038, allocations: 29.7 kB / 494.6 MB, free: 6.895 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.437e-05/0.1039, allocations: 112 kB / 494.7 MB, free: 6.781 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.1039, allocations: 23.72 kB / 494.7 MB, free: 6.758 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.1039, allocations: 4 kB / 494.7 MB, free: 6.754 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.957e-05/0.104, allocations: 322.8 kB / 495 MB, free: 6.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.641e-05/0.1041, allocations: 27.97 kB / 495.1 MB, free: 6.402 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.627e-05/0.1041, allocations: 31.98 kB / 495.1 MB, free: 6.371 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.1043, allocations: 64.83 kB / 495.2 MB, free: 6.305 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1043, allocations: 0 / 495.2 MB, free: 6.305 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001927/0.1045, allocations: 113.4 kB / 495.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1045, allocations: 8 kB / 495.3 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1045, allocations: 7.922 kB / 495.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.1045, allocations: 0 / 495.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.658e-05/0.1047, allocations: 19.98 kB / 495.3 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1047, allocations: 384 / 495.3 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.482e-05/0.1047, allocations: 15.92 kB / 495.3 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1047, allocations: 4 kB / 495.3 MB, free: 6.133 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.098e-05/0.1048, allocations: 133.8 kB / 495.5 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.1049, allocations: 11.91 kB / 495.5 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.1051, allocations: 139.2 kB / 495.6 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1051, allocations: 0 / 495.6 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1051, allocations: 0 / 495.6 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1051, allocations: 3.938 kB / 495.6 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.1056, allocations: 402.5 kB / 496 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1056, allocations: 7.984 kB / 496 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.613e-05/0.1057, allocations: 20 kB / 496 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1057, allocations: 3.938 kB / 496 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.1057, allocations: 0 / 496 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1057, allocations: 3.984 kB / 496 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1057, allocations: 0 / 496 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.1059, allocations: 203.4 kB / 496.2 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.106, allocations: 92.91 kB / 496.3 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.106, allocations: 7.938 kB / 496.3 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.55e-05/0.1061, allocations: 4 kB / 496.3 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.1061, allocations: 7.984 kB / 496.3 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.1061, allocations: 4 kB / 496.4 MB, free: 5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001233/0.1062, allocations: 176.2 kB / 496.5 MB, free: 4.828 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1062, allocations: 0 / 496.5 MB, free: 4.828 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002164/0.1065, allocations: 16 kB / 496.5 MB, free: 4.812 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0007436/0.1072, allocations: 401.7 kB / 496.9 MB, free: 4.461 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.1074, allocations: 75.95 kB / 497 MB, free: 4.387 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1074, allocations: 0 / 497 MB, free: 4.387 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.524e-05/0.1075, allocations: 43.91 kB / 497.1 MB, free: 4.344 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.1078, allocations: 12 kB / 497.1 MB, free: 4.332 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004219/0.1082, allocations: 303 kB / 497.4 MB, free: 4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.1085, allocations: 0.7043 MB / 498.1 MB, free: 3.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.1085, allocations: 19.42 kB / 498.1 MB, free: 3.254 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.1085, allocations: 0 / 498.1 MB, free: 3.254 MB / 378.7 MB Notification: Performance of Templates: time 0.002755/0.1113, allocations: 1.68 MB / 499.8 MB, free: 1.578 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches