Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008623/0.0008623, allocations: 175.5 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.252/1.252, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0006965/0.0006965, allocations: 92.97 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.2971/0.2971, allocations: 43.56 MB / 363.1 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003655, allocations: 20 kB / 432 MB, free: 5.586 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09496/0.09534, allocations: 58.86 MB / 490.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.001732/0.09711, allocations: 1.39 MB / 492.2 MB, free: 9.234 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.09815, allocations: 0.75 MB / 493 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/0.09822, allocations: 4 kB / 493 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.09844, allocations: 27.86 kB / 493 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.09861, allocations: 43.83 kB / 493.1 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.09882, allocations: 79.83 kB / 493.1 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.09897, allocations: 79.7 kB / 493.2 MB, free: 8.246 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.92e-05/0.09905, allocations: 16.2 kB / 493.2 MB, free: 8.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.942e-05/0.09913, allocations: 35.84 kB / 493.3 MB, free: 8.195 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.975e-05/0.0992, allocations: 35.8 kB / 493.3 MB, free: 8.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.09922, allocations: 0 / 493.3 MB, free: 8.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.466e-05/0.0993, allocations: 31.98 kB / 493.3 MB, free: 8.129 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.09935, allocations: 15.92 kB / 493.3 MB, free: 8.113 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.306e-05/0.09941, allocations: 61.44 kB / 493.4 MB, free: 8.047 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.09955, allocations: 84.09 kB / 493.5 MB, free: 7.965 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.09956, allocations: 4 kB / 493.5 MB, free: 7.961 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.09957, allocations: 0 / 493.5 MB, free: 7.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.09958, allocations: 3.938 kB / 493.5 MB, free: 7.957 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.0004375/0.1, allocations: 395.1 kB / 493.9 MB, free: 7.523 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.1001, allocations: 12.02 kB / 493.9 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.1001, allocations: 12.84 kB / 493.9 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.1003, allocations: 208 kB / 494.1 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1003, allocations: 384 / 494.1 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.1003, allocations: 8.125 kB / 494.1 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.1005, allocations: 57.66 kB / 494.2 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.1005, allocations: 3.938 kB / 494.2 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.1005, allocations: 0 / 494.2 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1005, allocations: 0 / 494.2 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.645e-05/0.1006, allocations: 27.98 kB / 494.2 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.1009, allocations: 284.9 kB / 494.5 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.1011, allocations: 58.62 kB / 494.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.991e-05/0.1011, allocations: 20.84 kB / 494.6 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.1012, allocations: 4 kB / 494.6 MB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.1013, allocations: 71.3 kB / 494.6 MB, free: 6.652 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1013, allocations: 0 / 494.6 MB, free: 6.652 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004666/0.1018, allocations: 173.3 kB / 494.8 MB, free: 6.477 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.1019, allocations: 51.41 kB / 494.8 MB, free: 6.414 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.102, allocations: 186.1 kB / 495 MB, free: 6.223 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.102, allocations: 29.7 kB / 495.1 MB, free: 6.188 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.1021, allocations: 100.1 kB / 495.2 MB, free: 6.086 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.1021, allocations: 27.64 kB / 495.2 MB, free: 6.059 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.1021, allocations: 3.938 kB / 495.2 MB, free: 6.055 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.1022, allocations: 330.8 kB / 495.5 MB, free: 5.723 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.005e-05/0.1023, allocations: 15.98 kB / 495.5 MB, free: 5.707 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.541e-05/0.1024, allocations: 37.7 kB / 495.6 MB, free: 5.664 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.1025, allocations: 61.7 kB / 495.6 MB, free: 5.598 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1025, allocations: 0 / 495.6 MB, free: 5.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001636/0.1027, allocations: 97.52 kB / 495.7 MB, free: 5.496 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.1027, allocations: 4 kB / 495.7 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1027, allocations: 4 kB / 495.7 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1027, allocations: 0 / 495.7 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.828e-05/0.1028, allocations: 19.98 kB / 495.7 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1028, allocations: 3.938 kB / 495.7 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.1029, allocations: 12.16 kB / 495.8 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1029, allocations: 4 kB / 495.8 MB, free: 5.449 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 9.021e-05/0.103, allocations: 129.8 kB / 495.9 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.103, allocations: 11.89 kB / 495.9 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.103, allocations: 16.72 kB / 495.9 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.103, allocations: 0 / 495.9 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.103, allocations: 0 / 495.9 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1031, allocations: 3.938 kB / 495.9 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003888/0.1034, allocations: 399.3 kB / 496.3 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1035, allocations: 4 kB / 496.3 MB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-05/0.1035, allocations: 11.98 kB / 496.3 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1035, allocations: 4 kB / 496.3 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1035, allocations: 3.938 kB / 496.3 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1035, allocations: 0 / 496.3 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1035, allocations: 4 kB / 496.3 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.1037, allocations: 196.6 kB / 496.5 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/0.1038, allocations: 96.91 kB / 496.6 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.1038, allocations: 7.938 kB / 496.6 MB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.651e-05/0.1039, allocations: 4 kB / 496.6 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.104, allocations: 11.98 kB / 496.7 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.104, allocations: 4 kB / 496.7 MB, free: 4.457 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001021/0.1041, allocations: 144 kB / 496.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1041, allocations: 0 / 496.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002328/0.1043, allocations: 28 kB / 496.8 MB, free: 4.289 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.0008888/0.1052, allocations: 457 kB / 497.3 MB, free: 3.883 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.1054, allocations: 63.91 kB / 497.3 MB, free: 3.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1054, allocations: 4 kB / 497.3 MB, free: 3.816 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.695e-05/0.1055, allocations: 35.91 kB / 497.4 MB, free: 3.781 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.1058, allocations: 27.36 kB / 497.4 MB, free: 3.758 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003907/0.1062, allocations: 260.2 kB / 497.7 MB, free: 3.469 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.1064, allocations: 0.7043 MB / 498.4 MB, free: 2.738 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.1065, allocations: 19.42 kB / 498.4 MB, free: 2.719 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1065, allocations: 0 / 498.4 MB, free: 2.719 MB / 378.7 MB Notification: Performance of Templates: time 0.00305/0.1095, allocations: 1.871 MB / 0.4885 GB, free: 0.8516 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches