Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.002272/0.002272, allocations: 83.92 kB / 20.68 MB, free: 1.023 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.002375/0.002375, allocations: 164 kB / 23.96 MB, free: 4.145 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.431/1.431, allocations: 177.1 MB / 204.3 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.197/0.197, allocations: 32.82 MB / 293.5 MB, free: 0 / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 440.2 MB, free: 8.043 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.705e-05, allocations: 9.594 kB / 440.2 MB, free: 8.035 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002866/0.002893, allocations: 1.72 MB / 441.9 MB, free: 6.301 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.004562, allocations: 0.9626 MB / 442.9 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.019e-05/0.004632, allocations: 7.938 kB / 442.9 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002667/0.004899, allocations: 43.81 kB / 442.9 MB, free: 5.281 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.005204, allocations: 111.4 kB / 443 MB, free: 5.172 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.005389, allocations: 79.61 kB / 443.1 MB, free: 5.094 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.005562, allocations: 111.6 kB / 443.2 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.507e-05/0.005637, allocations: 4 kB / 443.2 MB, free: 4.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.005742, allocations: 59.81 kB / 443.3 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.73e-05/0.005819, allocations: 23.92 kB / 443.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.005839, allocations: 4 kB / 443.3 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.855e-05/0.005938, allocations: 43.92 kB / 443.3 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.357e-05/0.006001, allocations: 35.84 kB / 443.4 MB, free: 4.816 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.832e-05/0.00605, allocations: 19.92 kB / 443.4 MB, free: 4.797 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.006273, allocations: 139.5 kB / 443.5 MB, free: 4.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.006276, allocations: 3.938 kB / 443.5 MB, free: 4.656 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.006276, allocations: 0 / 443.5 MB, free: 4.656 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.006281, allocations: 0 / 443.5 MB, free: 4.656 MB / 366.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.0005501/0.006831, allocations: 369.3 kB / 443.9 MB, free: 4.266 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.006862, allocations: 16.03 kB / 443.9 MB, free: 4.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.006908, allocations: 16.84 kB / 443.9 MB, free: 4.234 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.00713, allocations: 162.5 kB / 444.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.007143, allocations: 384 / 444.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.007165, allocations: 8.312 kB / 444.1 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.00731, allocations: 58.17 kB / 444.2 MB, free: 3.977 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.007324, allocations: 3.938 kB / 444.2 MB, free: 3.973 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.007333, allocations: 0 / 444.2 MB, free: 3.973 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.007344, allocations: 4 kB / 444.2 MB, free: 3.969 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.65e-05/0.00742, allocations: 19.98 kB / 444.2 MB, free: 3.949 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.007772, allocations: 244.6 kB / 444.4 MB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.007953, allocations: 58.61 kB / 444.5 MB, free: 3.613 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.934e-05/0.008013, allocations: 20.8 kB / 444.5 MB, free: 3.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.008031, allocations: 4 kB / 444.5 MB, free: 3.586 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.008193, allocations: 67.38 kB / 444.6 MB, free: 3.508 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.008194, allocations: 4 kB / 444.6 MB, free: 3.504 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005778/0.008772, allocations: 189.2 kB / 444.8 MB, free: 3.312 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.008822, allocations: 55.41 kB / 444.8 MB, free: 3.246 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.009106, allocations: 276.1 kB / 445.1 MB, free: 2.969 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.009129, allocations: 29.7 kB / 445.1 MB, free: 2.934 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.936e-05/0.009208, allocations: 116.1 kB / 445.2 MB, free: 2.816 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.009245, allocations: 27.78 kB / 445.3 MB, free: 2.789 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.009286, allocations: 17.72 kB / 445.3 MB, free: 2.766 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.009441, allocations: 334.8 kB / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.058e-05/0.009501, allocations: 16 kB / 445.6 MB, free: 2.414 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-05/0.009576, allocations: 49.61 kB / 445.7 MB, free: 2.359 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.009709, allocations: 65.72 kB / 445.7 MB, free: 2.289 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.00971, allocations: 4 kB / 445.7 MB, free: 2.285 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002064/0.009916, allocations: 105.5 kB / 445.8 MB, free: 2.176 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.009933, allocations: 8 kB / 445.8 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.009937, allocations: 0 / 445.8 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.009952, allocations: 3.984 kB / 445.8 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.093e-05/0.01004, allocations: 16.17 kB / 445.9 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.01005, allocations: 4 kB / 445.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.718e-05/0.0101, allocations: 8.312 kB / 445.9 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.01011, allocations: 4 kB / 445.9 MB, free: 2.133 MB / 366.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.0001299/0.01024, allocations: 145.7 kB / 446 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.01027, allocations: 19.86 kB / 446 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002713/0.01054, allocations: 123 kB / 446.2 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.01054, allocations: 8 kB / 446.2 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.01055, allocations: 0 / 446.2 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01055, allocations: 3.938 kB / 446.2 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004695/0.01102, allocations: 362.9 kB / 446.5 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01102, allocations: 0 / 446.5 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.966e-05/0.01106, allocations: 8 kB / 446.5 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.01107, allocations: 12.02 kB / 446.5 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.01108, allocations: 0 / 446.5 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.01108, allocations: 0 / 446.5 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01108, allocations: 0 / 446.5 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.01136, allocations: 224.2 kB / 446.8 MB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.172e-05/0.01138, allocations: 11.91 kB / 446.8 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.0114, allocations: 3.984 kB / 446.8 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.081e-05/0.01149, allocations: 4 kB / 446.8 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.01152, allocations: 11.98 kB / 446.8 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.01153, allocations: 0 / 446.8 MB, free: 1.137 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001936/0.01173, allocations: 216.3 kB / 447 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01173, allocations: 0 / 447 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.01199, allocations: 27.92 kB / 447 MB, free: 0.8984 MB / 366.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 (9): * Single equations (assignments): 7 * 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.001795/0.01379, allocations: 498.5 kB / 447.5 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.01398, allocations: 63.95 kB / 447.6 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01398, allocations: 0 / 447.6 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.622e-05/0.01407, allocations: 31.92 kB / 447.6 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.0144, allocations: 23.98 kB / 447.6 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005215/0.01493, allocations: 290.9 kB / 447.9 MB, free: 196 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.01504, allocations: 117.2 kB / 448 MB, free: 56 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.601e-05/0.01508, allocations: 16.97 kB / 448.1 MB, free: 40 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.03e-05/0.01512, allocations: 16.5 kB / 448.1 MB, free: 24 kB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01512, allocations: 0 / 448.1 MB, free: 24 kB / 366.1 MB Notification: Performance of Templates: time 0.1578/0.173, allocations: 1.872 MB / 449.9 MB, free: 21.12 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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: 4.562126167118549]