Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002012/0.002012, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002276/0.002276, allocations: 213.5 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.742/1.742, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2651/0.2651, allocations: 46.94 MB / 360.9 MB, free: 4.227 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 63.89 kB / 0.4967 GB, free: 7.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.4508, allocations: 66.03 MB / 0.5612 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003792/0.4546, allocations: 1.741 MB / 0.5629 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.4567, allocations: 1.049 MB / 0.5639 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.823e-05/0.4568, allocations: 0 / 0.5639 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003753/0.4572, allocations: 43.77 kB / 0.564 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003603/0.4576, allocations: 95.48 kB / 0.564 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.4578, allocations: 75.73 kB / 0.5641 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.458, allocations: 111.7 kB / 0.5642 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.4581, allocations: 4 kB / 0.5642 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.4583, allocations: 51.72 kB / 0.5643 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.905e-05/0.4584, allocations: 31.84 kB / 0.5643 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.4584, allocations: 4 kB / 0.5643 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.4585, allocations: 39.98 kB / 0.5644 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.854e-05/0.4586, allocations: 27.84 kB / 0.5644 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.711e-05/0.4586, allocations: 31.75 kB / 0.5644 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.4589, allocations: 121.9 kB / 0.5645 GB, free: 0.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4589, allocations: 0 / 0.5645 GB, free: 0.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4589, allocations: 0 / 0.5645 GB, free: 0.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.4589, allocations: 0 / 0.5645 GB, free: 0.918 MB / 398.1 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.0006893/0.4596, allocations: 333.7 kB / 0.5648 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.4596, allocations: 12.03 kB / 0.5649 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.327e-05/0.4597, allocations: 12.83 kB / 0.5649 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.46, allocations: 151.9 kB / 0.565 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.46, allocations: 384 / 0.565 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.46, allocations: 16.11 kB / 0.565 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.4602, allocations: 49.67 kB / 0.5651 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.4602, allocations: 0 / 0.5651 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.4602, allocations: 4 kB / 0.5651 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.4603, allocations: 0 / 0.5651 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.02e-05/0.4603, allocations: 19.98 kB / 0.5651 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004872/0.4608, allocations: 267.8 kB / 0.5654 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.461, allocations: 50.62 kB / 0.5654 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.399e-05/0.4611, allocations: 20.84 kB / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.4611, allocations: 4 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.4613, allocations: 67.39 kB / 0.5655 GB, free: 15.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.4613, allocations: 3.938 kB / 0.5655 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007164/0.462, allocations: 177.4 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/0.4621, allocations: 51.41 kB / 0.5657 GB, free: 15.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.4623, allocations: 170.2 kB / 0.5659 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.4624, allocations: 25.7 kB / 0.5659 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.4625, allocations: 108.1 kB / 0.566 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.4625, allocations: 23.8 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-05/0.4625, allocations: 29.7 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.4627, allocations: 330.8 kB / 0.5664 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.008e-05/0.4628, allocations: 16 kB / 0.5664 GB, free: 14.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.285e-05/0.4629, allocations: 33.7 kB / 0.5664 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.463, allocations: 61.69 kB / 0.5665 GB, free: 14.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.463, allocations: 0 / 0.5665 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001998/0.4632, allocations: 109.5 kB / 0.5666 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.4632, allocations: 4 kB / 0.5666 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.4632, allocations: 0 / 0.5666 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.4633, allocations: 4 kB / 0.5666 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.4634, allocations: 15.94 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.4634, allocations: 0 / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.317e-05/0.4634, allocations: 15.92 kB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.4634, allocations: 0 / 0.5666 GB, free: 14.57 MB / 414.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.4636, allocations: 125 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.4636, allocations: 8.141 kB / 0.5667 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.4639, allocations: 114.3 kB / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.4639, allocations: 7.938 kB / 0.5669 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4639, allocations: 3.938 kB / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.4639, allocations: 3.938 kB / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004846/0.4644, allocations: 358.7 kB / 0.5672 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4644, allocations: 0 / 0.5672 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.4644, allocations: 19.95 kB / 0.5672 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.4644, allocations: 4 kB / 0.5672 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.4644, allocations: 7.922 kB / 0.5672 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4644, allocations: 0 / 0.5672 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4644, allocations: 0 / 0.5672 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.4647, allocations: 204.3 kB / 0.5674 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/0.4647, allocations: 11.91 kB / 0.5674 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.4648, allocations: 15.92 kB / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.199e-05/0.4648, allocations: 4 kB / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.4649, allocations: 7.938 kB / 0.5675 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.4649, allocations: 8.359 kB / 0.5675 GB, free: 13.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.465, allocations: 128.1 kB / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.465, allocations: 0 / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000267/0.4653, allocations: 23.94 kB / 0.5676 GB, free: 13.45 MB / 414.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001881/0.4672, allocations: 464.6 kB / 0.5681 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002176/0.4674, allocations: 51.92 kB / 0.5681 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4674, allocations: 0 / 0.5681 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.568e-05/0.4675, allocations: 28.11 kB / 0.5681 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.4678, allocations: 35.8 kB / 0.5682 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005344/0.4684, allocations: 215.2 kB / 0.5684 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.4687, allocations: 0.6963 MB / 0.5691 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.697e-05/0.4688, allocations: 25.27 kB / 0.5691 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.4688, allocations: 19.44 kB / 0.5691 GB, free: 12.06 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4688, allocations: 0 / 0.5691 GB, free: 12.06 MB / 414.1 MB Notification: Performance of Templates: time 0.005787/0.4746, allocations: 1.758 MB / 0.5708 GB, free: 10.32 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.731141119031236]