Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002092/0.002092, allocations: 180.1 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.076/2.076, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001649/0.001649, allocations: 84.62 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3226/0.3226, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.693e-05/2.705e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4304/0.4305, allocations: 58.85 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1607/0.5912, allocations: 87.08 MB / 0.5509 GB, free: 12.23 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/0.5916, allocations: 75.95 kB / 0.551 GB, free: 12.15 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03466/0.6262, allocations: 7.44 MB / 0.5583 GB, free: 4.707 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.6263, allocations: 0 / 0.5583 GB, free: 4.707 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.739e-05/0.6263, allocations: 4 kB / 0.5583 GB, free: 4.703 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008212/0.6272, allocations: 485.7 kB / 0.5587 GB, free: 4.184 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.6272, allocations: 8.031 kB / 0.5588 GB, free: 4.176 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.978e-05/0.6273, allocations: 23.72 kB / 0.5588 GB, free: 4.152 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006399/0.628, allocations: 274.5 kB / 0.559 GB, free: 3.84 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.628, allocations: 0 / 0.559 GB, free: 3.84 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.6281, allocations: 4 kB / 0.559 GB, free: 3.836 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001428/0.6282, allocations: 43.91 kB / 0.5591 GB, free: 3.793 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.6284, allocations: 95.31 kB / 0.5592 GB, free: 3.688 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.6285, allocations: 0 / 0.5592 GB, free: 3.688 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.6285, allocations: 0 / 0.5592 GB, free: 3.688 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.6285, allocations: 0 / 0.5592 GB, free: 3.688 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007089/0.6292, allocations: 433.5 kB / 0.5596 GB, free: 3.223 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.6295, allocations: 105.4 kB / 0.5597 GB, free: 3.102 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.97e-05/0.6296, allocations: 33.84 kB / 0.5597 GB, free: 3.062 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.6297, allocations: 0 / 0.5597 GB, free: 3.062 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002501/0.6299, allocations: 117 kB / 0.5598 GB, free: 2.93 MB / 395.1 MB Notification: Performance of pre-optimization done (n=12): time 1.873e-06/0.6299, allocations: 0 / 0.5598 GB, free: 2.93 MB / 395.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009919/0.6309, allocations: 304.3 kB / 0.5601 GB, free: 2.625 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.631, allocations: 81.11 kB / 0.5602 GB, free: 2.527 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005448/0.6316, allocations: 310.2 kB / 0.5605 GB, free: 2.223 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.6316, allocations: 25.7 kB / 0.5605 GB, free: 2.191 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.6318, allocations: 186.8 kB / 0.5607 GB, free: 2.004 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.006e-05/0.6319, allocations: 51.28 kB / 0.5607 GB, free: 1.953 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-06/0.6319, allocations: 4 kB / 0.5608 GB, free: 1.949 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.632, allocations: 322.8 kB / 0.5611 GB, free: 1.625 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.6322, allocations: 39.94 kB / 0.5611 GB, free: 1.586 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.6323, allocations: 63.42 kB / 0.5612 GB, free: 1.512 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.6325, allocations: 35.98 kB / 0.5612 GB, free: 1.477 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6325, allocations: 4 kB / 0.5612 GB, free: 1.473 MB / 395.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003775/0.6329, allocations: 145.6 kB / 0.5613 GB, free: 1.324 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.6329, allocations: 8 kB / 0.5613 GB, free: 1.316 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.6329, allocations: 3.953 kB / 0.5613 GB, free: 1.312 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.633, allocations: 0 / 0.5613 GB, free: 1.312 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.6332, allocations: 35.92 kB / 0.5614 GB, free: 1.277 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.6332, allocations: 0 / 0.5614 GB, free: 1.277 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.6334, allocations: 11.98 kB / 0.5614 GB, free: 1.266 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.6335, allocations: 11.98 kB / 0.5614 GB, free: 1.254 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001544/0.6336, allocations: 109 kB / 0.5615 GB, free: 1.141 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.6337, allocations: 23.72 kB / 0.5615 GB, free: 1.117 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005772/0.6343, allocations: 199.4 kB / 0.5617 GB, free: 0.9141 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.6343, allocations: 3.953 kB / 0.5617 GB, free: 0.9102 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/0.6343, allocations: 4 kB / 0.5617 GB, free: 0.9062 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.6343, allocations: 0 / 0.5617 GB, free: 0.9062 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.6355, allocations: 0.6091 MB / 0.5623 GB, free: 252 kB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.6355, allocations: 4 kB / 0.5623 GB, free: 248 kB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.6357, allocations: 23.94 kB / 0.5624 GB, free: 224 kB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/0.6357, allocations: 4 kB / 0.5624 GB, free: 220 kB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.6357, allocations: 0 / 0.5624 GB, free: 220 kB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.6357, allocations: 7.938 kB / 0.5624 GB, free: 212 kB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.6357, allocations: 3.938 kB / 0.5624 GB, free: 208 kB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005879/0.6363, allocations: 398 kB / 0.5627 GB, free: 15.78 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.6365, allocations: 112.8 kB / 0.5629 GB, free: 15.65 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.04e-05/0.6366, allocations: 8 kB / 0.5629 GB, free: 15.64 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.6369, allocations: 11.98 kB / 0.5629 GB, free: 15.63 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.6369, allocations: 15.97 kB / 0.5629 GB, free: 15.61 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.637, allocations: 11.95 kB / 0.5629 GB, free: 15.6 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0004104/0.6374, allocations: 246 kB / 0.5631 GB, free: 15.36 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6374, allocations: 0 / 0.5631 GB, free: 15.36 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005482/0.638, allocations: 55.92 kB / 0.5632 GB, free: 15.3 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001234/0.6392, allocations: 400.5 kB / 0.5636 GB, free: 14.95 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0003495/0.6396, allocations: 111.8 kB / 0.5637 GB, free: 14.84 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6396, allocations: 0 / 0.5637 GB, free: 14.84 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.6398, allocations: 55.88 kB / 0.5637 GB, free: 14.79 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006446/0.6404, allocations: 56.7 kB / 0.5638 GB, free: 14.73 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009839/0.6414, allocations: 374 kB / 0.5641 GB, free: 14.33 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/0.6419, allocations: 0.7636 MB / 0.5649 GB, free: 13.54 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.6421, allocations: 27.44 kB / 0.5649 GB, free: 13.52 MB / 411.1 MB Notification: Performance of SimCode: time 1.463e-06/0.6421, allocations: 0 / 0.5649 GB, free: 13.52 MB / 411.1 MB Notification: Performance of Templates: time 0.008727/0.6508, allocations: 3.204 MB / 0.568 GB, free: 10.32 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches