Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, 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.235/1.235, 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.0007119/0.000712, allocations: 92.73 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.2866/0.2866, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003492, allocations: 16 kB / 432 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09216/0.09253, allocations: 58.85 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.001846/0.09441, allocations: 1.401 MB / 492.2 MB, free: 9.469 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.09555, allocations: 0.7422 MB / 493 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.733e-05/0.09563, allocations: 3.938 kB / 493 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.09589, allocations: 35.89 kB / 493 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.09607, allocations: 39.84 kB / 493 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.09634, allocations: 79.83 kB / 493.1 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.0965, allocations: 83.7 kB / 493.2 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.703e-05/0.0966, allocations: 20.2 kB / 493.2 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.43e-05/0.09669, allocations: 39.78 kB / 493.3 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.214e-05/0.09676, allocations: 23.86 kB / 493.3 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.09678, allocations: 4 kB / 493.3 MB, free: 8.395 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.947e-05/0.09688, allocations: 31.98 kB / 493.3 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.501e-05/0.09693, allocations: 27.84 kB / 493.4 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.407e-05/0.097, allocations: 53.52 kB / 493.4 MB, free: 8.277 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.09714, allocations: 84.03 kB / 493.5 MB, free: 8.195 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.09716, allocations: 4 kB / 493.5 MB, free: 8.191 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.09716, allocations: 0 / 493.5 MB, free: 8.191 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.09717, allocations: 0 / 493.5 MB, free: 8.191 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.0004657/0.09765, allocations: 407.1 kB / 493.9 MB, free: 7.746 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.09769, allocations: 8.031 kB / 493.9 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.09773, allocations: 8.844 kB / 493.9 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.09795, allocations: 216.7 kB / 494.1 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.09797, allocations: 4.375 kB / 494.1 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.09799, allocations: 4.125 kB / 494.1 MB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.09813, allocations: 65.55 kB / 494.2 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.09815, allocations: 0 / 494.2 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.09817, allocations: 4 kB / 494.2 MB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.09818, allocations: 4 kB / 494.2 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.956e-05/0.09825, allocations: 15.98 kB / 494.2 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.09859, allocations: 284.9 kB / 494.5 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.09875, allocations: 62.61 kB / 494.6 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.01e-05/0.09881, allocations: 24.84 kB / 494.6 MB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.09884, allocations: 0 / 494.6 MB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.09901, allocations: 67.38 kB / 494.6 MB, free: 6.875 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.09902, allocations: 3.938 kB / 494.6 MB, free: 6.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004832/0.09951, allocations: 165.2 kB / 494.8 MB, free: 6.703 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.09956, allocations: 55.41 kB / 494.9 MB, free: 6.637 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.09973, allocations: 208.7 kB / 495.1 MB, free: 6.426 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.09976, allocations: 25.7 kB / 495.1 MB, free: 6.395 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/0.09982, allocations: 100.1 kB / 495.2 MB, free: 6.293 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.09985, allocations: 23.7 kB / 495.2 MB, free: 6.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.09986, allocations: 0 / 495.2 MB, free: 6.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.09997, allocations: 326.8 kB / 495.5 MB, free: 5.941 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.67e-05/0.1, allocations: 23.98 kB / 495.6 MB, free: 5.918 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.032e-05/0.1001, allocations: 41.64 kB / 495.6 MB, free: 5.871 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.1002, allocations: 61.7 kB / 495.7 MB, free: 5.805 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1002, allocations: 0 / 495.7 MB, free: 5.805 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001763/0.1004, allocations: 101.4 kB / 495.8 MB, free: 5.699 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.1004, allocations: 4 kB / 495.8 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1004, allocations: 0 / 495.8 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.517e-06/0.1005, allocations: 4 kB / 495.8 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.784e-05/0.1005, allocations: 12 kB / 495.8 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1006, allocations: 8.016 kB / 495.8 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.105e-05/0.1006, allocations: 11.94 kB / 495.8 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.1006, allocations: 4 kB / 495.8 MB, free: 5.656 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 8.776e-05/0.1007, allocations: 129.6 kB / 495.9 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.1007, allocations: 15.84 kB / 495.9 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.938e-05/0.1008, allocations: 17.41 kB / 496 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1008, allocations: 0 / 496 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.1008, allocations: 0 / 496 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1008, allocations: 7.875 kB / 496 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003919/0.1012, allocations: 403.2 kB / 496.4 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1012, allocations: 384 / 496.4 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.158e-05/0.1013, allocations: 8 kB / 496.4 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1013, allocations: 0 / 496.4 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.1013, allocations: 11.94 kB / 496.4 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1013, allocations: 0 / 496.4 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1013, allocations: 0 / 496.4 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.1015, allocations: 200.6 kB / 496.6 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/0.1016, allocations: 92.91 kB / 496.7 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.1016, allocations: 4.125 kB / 496.7 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.868e-05/0.1017, allocations: 11.94 kB / 496.7 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.1017, allocations: 11.92 kB / 496.7 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.1017, allocations: 4 kB / 496.7 MB, free: 4.652 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001165/0.1019, allocations: 156.9 kB / 496.8 MB, free: 4.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1019, allocations: 0 / 496.8 MB, free: 4.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002362/0.1021, allocations: 24 kB / 496.9 MB, free: 4.477 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.00088/0.103, allocations: 461.6 kB / 497.3 MB, free: 4.066 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.1032, allocations: 59.91 kB / 497.4 MB, free: 4.008 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1032, allocations: 4 kB / 497.4 MB, free: 4.004 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.344e-05/0.1032, allocations: 23.98 kB / 497.4 MB, free: 3.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.1035, allocations: 27.73 kB / 497.4 MB, free: 3.957 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/0.104, allocations: 276.2 kB / 497.7 MB, free: 3.645 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.1042, allocations: 0.7083 MB / 498.4 MB, free: 2.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.1043, allocations: 19.42 kB / 498.4 MB, free: 2.895 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.1043, allocations: 4 kB / 498.4 MB, free: 2.891 MB / 378.7 MB Notification: Performance of Templates: time 0.003202/0.1075, allocations: 1.895 MB / 0.4886 GB, free: 0.9961 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches