Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,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.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 171.9 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.179/1.179, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0006668/0.0006667, allocations: 89.36 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.2816/0.2816, allocations: 43.56 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003375, allocations: 16 kB / 432 MB, free: 5.586 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0983/0.09865, allocations: 58.85 MB / 490.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.00168/0.1004, allocations: 1.394 MB / 492.2 MB, free: 9.234 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.1014, allocations: 0.75 MB / 493 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.27e-05/0.1015, allocations: 0 / 493 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.1017, allocations: 39.81 kB / 493 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.1018, allocations: 47.83 kB / 493.1 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.1021, allocations: 75.84 kB / 493.1 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.1022, allocations: 83.7 kB / 493.2 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.326e-05/0.1023, allocations: 16.2 kB / 493.2 MB, free: 8.219 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.873e-05/0.1024, allocations: 35.84 kB / 493.3 MB, free: 8.184 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.321e-05/0.1024, allocations: 27.8 kB / 493.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.1025, allocations: 4 kB / 493.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.789e-05/0.1025, allocations: 35.98 kB / 493.3 MB, free: 8.117 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.1026, allocations: 27.84 kB / 493.4 MB, free: 8.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.354e-05/0.1026, allocations: 57.5 kB / 493.4 MB, free: 8.027 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.1028, allocations: 84.09 kB / 493.5 MB, free: 7.945 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1028, allocations: 0 / 493.5 MB, free: 7.945 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1028, allocations: 0 / 493.5 MB, free: 7.945 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1028, allocations: 0 / 493.5 MB, free: 7.945 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.0004585/0.1033, allocations: 399.1 kB / 493.9 MB, free: 7.508 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.1033, allocations: 8.031 kB / 493.9 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.1034, allocations: 20.78 kB / 493.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.1036, allocations: 208.7 kB / 494.1 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.1036, allocations: 4.375 kB / 494.1 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.1036, allocations: 4.125 kB / 494.1 MB, free: 7.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.1038, allocations: 57.61 kB / 494.2 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1038, allocations: 0 / 494.2 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.858e-05/0.1038, allocations: 4 kB / 494.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1038, allocations: 7.984 kB / 494.2 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.444e-05/0.1039, allocations: 12 kB / 494.2 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.1042, allocations: 300.8 kB / 494.5 MB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.1044, allocations: 58.67 kB / 494.6 MB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.024e-05/0.1044, allocations: 24.78 kB / 494.6 MB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.1045, allocations: 0 / 494.6 MB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.1047, allocations: 71.33 kB / 494.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1047, allocations: 0 / 494.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004913/0.1052, allocations: 169.2 kB / 494.8 MB, free: 6.453 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.1052, allocations: 55.41 kB / 494.9 MB, free: 6.387 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.1054, allocations: 200.7 kB / 495.1 MB, free: 6.184 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1054, allocations: 25.7 kB / 495.1 MB, free: 6.152 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.1055, allocations: 104.1 kB / 495.2 MB, free: 6.047 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.1055, allocations: 23.72 kB / 495.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.321e-06/0.1055, allocations: 4 kB / 495.2 MB, free: 6.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1057, allocations: 326.8 kB / 495.5 MB, free: 5.691 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.331e-05/0.1057, allocations: 19.98 kB / 495.6 MB, free: 5.672 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.882e-05/0.1058, allocations: 33.7 kB / 495.6 MB, free: 5.633 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.1059, allocations: 65.64 kB / 495.7 MB, free: 5.562 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1059, allocations: 4 kB / 495.7 MB, free: 5.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000164/0.1061, allocations: 97.48 kB / 495.8 MB, free: 5.457 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1061, allocations: 4 kB / 495.8 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1061, allocations: 4 kB / 495.8 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.1061, allocations: 0 / 495.8 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.927e-05/0.1062, allocations: 19.92 kB / 495.8 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1062, allocations: 0 / 495.8 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.787e-05/0.1063, allocations: 11.94 kB / 495.8 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1063, allocations: 4 kB / 495.8 MB, free: 5.414 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.0001026/0.1064, allocations: 133.5 kB / 495.9 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.1064, allocations: 15.91 kB / 495.9 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/0.1065, allocations: 17.39 kB / 496 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1065, allocations: 0 / 496 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1065, allocations: 0 / 496 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1065, allocations: 7.875 kB / 496 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004084/0.1069, allocations: 399.4 kB / 496.4 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1069, allocations: 4.031 kB / 496.4 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.051e-05/0.107, allocations: 8 kB / 496.4 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.107, allocations: 0 / 496.4 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.107, allocations: 12.3 kB / 496.4 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.107, allocations: 3.938 kB / 496.4 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.107, allocations: 192 / 496.4 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.1072, allocations: 200.3 kB / 496.6 MB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.345e-05/0.1073, allocations: 96.86 kB / 496.7 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.1073, allocations: 11.92 kB / 496.7 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.697e-05/0.1074, allocations: 4 kB / 496.7 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.1074, allocations: 4 kB / 496.7 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.1074, allocations: 7.984 kB / 496.7 MB, free: 4.406 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001144/0.1075, allocations: 152.9 kB / 496.9 MB, free: 4.258 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1075, allocations: 0 / 496.9 MB, free: 4.258 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002291/0.1078, allocations: 24 kB / 496.9 MB, free: 4.234 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.0009138/0.1087, allocations: 461.7 kB / 497.3 MB, free: 3.828 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.1089, allocations: 59.97 kB / 497.4 MB, free: 3.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1089, allocations: 0 / 497.4 MB, free: 3.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.295e-05/0.1089, allocations: 28 kB / 497.4 MB, free: 3.742 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.1093, allocations: 27.97 kB / 497.4 MB, free: 3.715 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004448/0.1097, allocations: 272.2 kB / 497.7 MB, free: 3.406 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.11, allocations: 0.7083 MB / 498.4 MB, free: 2.672 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.11, allocations: 15.44 kB / 498.4 MB, free: 2.656 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.11, allocations: 0 / 498.4 MB, free: 2.656 MB / 378.7 MB Notification: Performance of Templates: time 0.003292/0.1133, allocations: 1.902 MB / 0.4886 GB, free: 0.7539 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches