Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001049/0.001049, allocations: 200.5 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 226.6 MB / 243.1 MB, free: 12.37 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008251/0.000825, allocations: 97.09 kB / 295.1 MB, free: 4.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1768/0.1768, allocations: 44.84 MB / 392 MB, free: 11.35 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002311/0.0002311, allocations: 8 kB / 464.7 MB, free: 68.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09158/0.09182, allocations: 62.96 MB / 0.5153 GB, free: 5.102 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.001493/0.09335, allocations: 1.428 MB / 0.5167 GB, free: 3.656 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.09437, allocations: 0.9402 MB / 0.5176 GB, free: 2.711 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.477e-05/0.09446, allocations: 3.938 kB / 0.5177 GB, free: 2.707 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.0947, allocations: 31.89 kB / 0.5177 GB, free: 2.676 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.0949, allocations: 75.73 kB / 0.5178 GB, free: 2.602 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.09512, allocations: 99.02 kB / 0.5178 GB, free: 2.508 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.09524, allocations: 83.7 kB / 0.5179 GB, free: 2.426 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.458e-05/0.09532, allocations: 15.98 kB / 0.5179 GB, free: 2.41 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.414e-05/0.09539, allocations: 39.78 kB / 0.518 GB, free: 2.371 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.466e-05/0.09545, allocations: 27.86 kB / 0.518 GB, free: 2.344 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.09547, allocations: 0 / 0.518 GB, free: 2.344 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.289e-05/0.09555, allocations: 39.91 kB / 0.518 GB, free: 2.305 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.146e-05/0.09559, allocations: 19.92 kB / 0.5181 GB, free: 2.285 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.09563, allocations: 41.64 kB / 0.5181 GB, free: 2.238 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.09574, allocations: 84.09 kB / 0.5182 GB, free: 2.156 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.09575, allocations: 0 / 0.5182 GB, free: 2.156 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.09576, allocations: 0 / 0.5182 GB, free: 2.156 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.09577, allocations: 0 / 0.5182 GB, free: 2.156 MB / 346.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.0003666/0.09614, allocations: 402.9 kB / 0.5186 GB, free: 1.715 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.09618, allocations: 12.03 kB / 0.5186 GB, free: 1.703 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.09621, allocations: 11.81 kB / 0.5186 GB, free: 1.691 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.09638, allocations: 211.5 kB / 0.5188 GB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.0964, allocations: 0 / 0.5188 GB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.09642, allocations: 7.938 kB / 0.5188 GB, free: 1.438 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.09654, allocations: 53.67 kB / 0.5189 GB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.09656, allocations: 0 / 0.5189 GB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.09658, allocations: 3.984 kB / 0.5189 GB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.09658, allocations: 0 / 0.5189 GB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.292e-05/0.09665, allocations: 23.92 kB / 0.5189 GB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002568/0.09691, allocations: 288.9 kB / 0.5192 GB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.09706, allocations: 58.67 kB / 0.5192 GB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.313e-05/0.09711, allocations: 16.86 kB / 0.5192 GB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.09714, allocations: 3.938 kB / 0.5192 GB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.0973, allocations: 79.31 kB / 0.5193 GB, free: 0.8398 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.09731, allocations: 0 / 0.5193 GB, free: 0.8398 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004598/0.09778, allocations: 161.2 kB / 0.5195 GB, free: 0.6758 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.09781, allocations: 59.41 kB / 0.5195 GB, free: 0.6055 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.09795, allocations: 182.1 kB / 0.5197 GB, free: 428 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.09796, allocations: 29.7 kB / 0.5197 GB, free: 392 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.09801, allocations: 104.1 kB / 0.5198 GB, free: 284 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.09804, allocations: 23.66 kB / 0.5198 GB, free: 260 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/0.09805, allocations: 4 kB / 0.5198 GB, free: 256 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.09815, allocations: 322.8 kB / 0.5202 GB, free: 15.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.633e-05/0.09822, allocations: 19.98 kB / 0.5202 GB, free: 15.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.379e-05/0.09829, allocations: 37.7 kB / 0.5202 GB, free: 15.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.748e-05/0.09835, allocations: 20 kB / 0.5202 GB, free: 15.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.09836, allocations: 0 / 0.5202 GB, free: 15.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001799/0.09855, allocations: 113.5 kB / 0.5203 GB, free: 15.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.09857, allocations: 8 kB / 0.5203 GB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.09858, allocations: 0 / 0.5203 GB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.0986, allocations: 4 kB / 0.5203 GB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.739e-05/0.09869, allocations: 19.92 kB / 0.5204 GB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.09871, allocations: 384 / 0.5204 GB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.616e-05/0.09876, allocations: 4 kB / 0.5204 GB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.09877, allocations: 7.953 kB / 0.5204 GB, free: 15.68 MB / 362.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.0001045/0.09888, allocations: 121.8 kB / 0.5205 GB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.09891, allocations: 19.89 kB / 0.5205 GB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.189e-05/0.09896, allocations: 13.41 kB / 0.5205 GB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.09897, allocations: 0 / 0.5205 GB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.09898, allocations: 7.938 kB / 0.5205 GB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.09899, allocations: 0 / 0.5205 GB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/0.09942, allocations: 399.2 kB / 0.5209 GB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.09944, allocations: 0 / 0.5209 GB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.131e-05/0.09947, allocations: 8 kB / 0.5209 GB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.09948, allocations: 4.031 kB / 0.5209 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.0995, allocations: 4 kB / 0.5209 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.09951, allocations: 0 / 0.5209 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.09951, allocations: 3.953 kB / 0.5209 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.09974, allocations: 200.4 kB / 0.5211 GB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.09981, allocations: 89 kB / 0.5212 GB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.09984, allocations: 11.94 kB / 0.5212 GB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.566e-05/0.09991, allocations: 4 kB / 0.5212 GB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.09996, allocations: 11.94 kB / 0.5212 GB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.09997, allocations: 4 kB / 0.5212 GB, free: 14.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001008/0.1001, allocations: 140.9 kB / 0.5214 GB, free: 14.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1001, allocations: 0 / 0.5214 GB, free: 14.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002188/0.1003, allocations: 20 kB / 0.5214 GB, free: 14.54 MB / 362.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.0009179/0.1012, allocations: 468.4 kB / 0.5218 GB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.1014, allocations: 59.91 kB / 0.5219 GB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1014, allocations: 0 / 0.5219 GB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.542e-05/0.1015, allocations: 31.92 kB / 0.5219 GB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.1018, allocations: 29.17 kB / 0.522 GB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003869/0.1022, allocations: 264 kB / 0.5222 GB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.1024, allocations: 0.7082 MB / 0.5229 GB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.1025, allocations: 15.44 kB / 0.5229 GB, free: 13.07 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1025, allocations: 0 / 0.5229 GB, free: 13.07 MB / 362.7 MB Notification: Performance of Templates: time 0.003031/0.1055, allocations: 1.928 MB / 0.5248 GB, free: 11.16 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches