Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.002016/0.002016, allocations: 119.9 kB / 20.44 MB, free: 1.297 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.003623/0.003623, allocations: 214.5 kB / 23.74 MB, free: 4.527 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.581/1.581, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2507/0.2507, allocations: 46.93 MB / 360.8 MB, free: 4.234 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002404/0.002404, allocations: 71.88 kB / 0.4967 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4155, allocations: 66.03 MB / 0.5612 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003769/0.4193, allocations: 1.943 MB / 0.5631 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.4214, allocations: 1.155 MB / 0.5642 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.4215, allocations: 7.938 kB / 0.5642 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004958/0.422, allocations: 211.4 kB / 0.5644 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005108/0.4225, allocations: 223.2 kB / 0.5647 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.4228, allocations: 119.6 kB / 0.5648 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003558/0.4231, allocations: 259.2 kB / 0.565 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.4233, allocations: 21.97 kB / 0.565 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.4235, allocations: 131.4 kB / 0.5652 GB, free: 428 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.4237, allocations: 179.4 kB / 0.5653 GB, free: 248 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.4238, allocations: 8 kB / 0.5653 GB, free: 240 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.4239, allocations: 55.98 kB / 0.5654 GB, free: 184 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.142e-05/0.424, allocations: 67.75 kB / 0.5655 GB, free: 116 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.4241, allocations: 91.23 kB / 0.5655 GB, free: 24 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.4244, allocations: 249.6 kB / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4245, allocations: 0 / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4245, allocations: 0 / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.4245, allocations: 0 / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008102/0.4253, allocations: 0.508 MB / 0.5663 GB, free: 15.24 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.4253, allocations: 8.031 kB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.301e-05/0.4254, allocations: 28.75 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004752/0.4259, allocations: 230.5 kB / 0.5665 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.4259, allocations: 4.375 kB / 0.5665 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.4259, allocations: 12.12 kB / 0.5665 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.4262, allocations: 111.3 kB / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.4262, allocations: 4 kB / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.4262, allocations: 0 / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.4262, allocations: 4 kB / 0.5667 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.4263, allocations: 47.95 kB / 0.5667 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006705/0.427, allocations: 447.8 kB / 0.5671 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004505/0.4275, allocations: 125.2 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.4276, allocations: 37.83 kB / 0.5673 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.4276, allocations: 0 / 0.5673 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002869/0.4279, allocations: 125.2 kB / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.4279, allocations: 0 / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001503/0.4294, allocations: 0.5045 MB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.4295, allocations: 81.11 kB / 0.568 GB, free: 13.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000511/0.43, allocations: 448.5 kB / 0.5684 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.43, allocations: 29.69 kB / 0.5684 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.4302, allocations: 164.4 kB / 0.5686 GB, free: 12.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.981e-05/0.4302, allocations: 71.44 kB / 0.5687 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.711e-05/0.4303, allocations: 41.7 kB / 0.5687 GB, free: 12.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.4305, allocations: 346.8 kB / 0.569 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.4307, allocations: 55.97 kB / 0.5691 GB, free: 12.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.4308, allocations: 95.34 kB / 0.5692 GB, free: 12.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.4311, allocations: 159.3 kB / 0.5693 GB, free: 11.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4311, allocations: 0 / 0.5693 GB, free: 11.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004183/0.4315, allocations: 245.4 kB / 0.5696 GB, free: 11.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.4315, allocations: 12 kB / 0.5696 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4315, allocations: 0 / 0.5696 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.4316, allocations: 4 kB / 0.5696 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.4317, allocations: 47.91 kB / 0.5696 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.4317, allocations: 4 kB / 0.5696 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.236e-05/0.4318, allocations: 11.95 kB / 0.5696 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.4318, allocations: 8 kB / 0.5696 GB, free: 11.57 MB / 414.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 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002369/0.4321, allocations: 162.3 kB / 0.5698 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.262e-05/0.4321, allocations: 35.75 kB / 0.5698 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005181/0.4326, allocations: 273.2 kB / 0.5701 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.4326, allocations: 3.984 kB / 0.5701 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4326, allocations: 4 kB / 0.5701 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.4326, allocations: 3.984 kB / 0.5701 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009724/0.4336, allocations: 0.7067 MB / 0.5708 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4336, allocations: 0 / 0.5708 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.698e-05/0.4337, allocations: 31.92 kB / 0.5708 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.299e-06/0.4337, allocations: 4 kB / 0.5708 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.4337, allocations: 11.98 kB / 0.5708 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.4337, allocations: 4 kB / 0.5708 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4337, allocations: 0 / 0.5708 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005241/0.4343, allocations: 427.5 kB / 0.5713 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.4343, allocations: 31.75 kB / 0.5713 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.473e-05/0.4343, allocations: 8 kB / 0.5713 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.4345, allocations: 8 kB / 0.5713 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.4346, allocations: 23.91 kB / 0.5713 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.4346, allocations: 16.17 kB / 0.5713 GB, free: 9.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003629/0.4349, allocations: 331 kB / 0.5717 GB, free: 9.406 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4349, allocations: 3.938 kB / 0.5717 GB, free: 9.402 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003569/0.4353, allocations: 47.94 kB / 0.5717 GB, free: 9.355 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001973/0.4373, allocations: 0.5167 MB / 0.5722 GB, free: 9.047 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003754/0.4377, allocations: 147.8 kB / 0.5723 GB, free: 8.902 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4377, allocations: 0 / 0.5723 GB, free: 8.902 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.4378, allocations: 75.84 kB / 0.5724 GB, free: 8.828 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.4384, allocations: 65.03 kB / 0.5725 GB, free: 8.766 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009921/0.4394, allocations: 0.563 MB / 0.573 GB, free: 8.164 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/0.4399, allocations: 0.7741 MB / 0.5738 GB, free: 7.367 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000109/0.44, allocations: 41.86 kB / 0.5738 GB, free: 7.324 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.885e-05/0.4401, allocations: 35.42 kB / 0.5739 GB, free: 7.289 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4401, allocations: 0 / 0.5739 GB, free: 7.289 MB / 414.1 MB Notification: Performance of Templates: time 0.008485/0.4486, allocations: 3.27 MB / 0.5771 GB, free: 4.047 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.839506946969777]