Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.002286/0.002286, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002671/0.002671, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 18.57 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.568/1.568, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.3618/0.3618, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 179] 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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 375.3 MB, free: 4.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.211e-05/3.375e-05, allocations: 6.25 kB / 375.3 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003293/0.003327, allocations: 1.735 MB / 377.1 MB, free: 3.164 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.005499, allocations: 1.001 MB / 378.1 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.005571, allocations: 3.938 kB / 378.1 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.005853, allocations: 43.77 kB / 378.1 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003415/0.006194, allocations: 103.5 kB / 378.2 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.006409, allocations: 79.59 kB / 378.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.006607, allocations: 107.6 kB / 378.4 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.558e-05/0.006693, allocations: 11.97 kB / 378.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.006812, allocations: 51.84 kB / 378.5 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.999e-05/0.006902, allocations: 27.89 kB / 378.5 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.006926, allocations: 8 kB / 378.5 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.007029, allocations: 43.92 kB / 378.6 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.75e-05/0.007097, allocations: 31.86 kB / 378.6 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.656e-05/0.007143, allocations: 15.94 kB / 378.6 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.007391, allocations: 131.5 kB / 378.7 MB, free: 1.512 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.007393, allocations: 0 / 378.7 MB, free: 1.512 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.007394, allocations: 0 / 378.7 MB, free: 1.512 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.007399, allocations: 0 / 378.7 MB, free: 1.512 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.0006696/0.008068, allocations: 467.3 kB / 379.2 MB, free: 1.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.008102, allocations: 8.031 kB / 379.2 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.008163, allocations: 16.84 kB / 379.2 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.008423, allocations: 165.2 kB / 379.4 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.008438, allocations: 8.312 kB / 379.4 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.008458, allocations: 4.375 kB / 379.4 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.008596, allocations: 54.23 kB / 379.4 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.008612, allocations: 3.938 kB / 379.4 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.008624, allocations: 3.984 kB / 379.4 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.008627, allocations: 0 / 379.4 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.412e-05/0.008701, allocations: 16 kB / 379.5 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/0.009152, allocations: 299.8 kB / 379.8 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.009334, allocations: 63.11 kB / 379.8 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.129e-05/0.009395, allocations: 27.61 kB / 379.8 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.009417, allocations: 8 kB / 379.8 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001587/0.009575, allocations: 73 kB / 379.9 MB, free: 188 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.009577, allocations: 0 / 379.9 MB, free: 188 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005935/0.01017, allocations: 181.5 kB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.303e-05/0.01024, allocations: 59.45 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.01052, allocations: 271 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.01055, allocations: 29.7 kB / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.01067, allocations: 166.8 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.01071, allocations: 23.84 kB / 380.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.681e-05/0.01078, allocations: 35.31 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002825/0.01106, allocations: 0.5079 MB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.043e-05/0.01112, allocations: 20.17 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.343e-05/0.0112, allocations: 47.36 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.01133, allocations: 71.23 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.01133, allocations: 0 / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002123/0.01154, allocations: 109.5 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.01156, allocations: 4 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.01156, allocations: 0 / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.01157, allocations: 0 / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.946e-05/0.01167, allocations: 19.98 kB / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.01168, allocations: 7.969 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.561e-05/0.01173, allocations: 4 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.01174, allocations: 4 kB / 381.5 MB, free: 14.55 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 ($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.0001349/0.01187, allocations: 168.5 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.01191, allocations: 15.91 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.01218, allocations: 131.2 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01218, allocations: 0 / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.01219, allocations: 0 / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.01219, allocations: 3.984 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005911/0.01278, allocations: 428.9 kB / 382.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01279, allocations: 0 / 382.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.01283, allocations: 11.98 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.01283, allocations: 4 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.01284, allocations: 0 / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01284, allocations: 0 / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01285, allocations: 0 / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.01317, allocations: 275.4 kB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/0.01319, allocations: 7.953 kB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.01322, allocations: 11.98 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-05/0.01329, allocations: 0 / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.01333, allocations: 12.02 kB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.01335, allocations: 4 kB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001963/0.01355, allocations: 203 kB / 382.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01355, allocations: 0 / 382.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002557/0.0138, allocations: 20 kB / 382.7 MB, free: 13.2 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 (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.003391/0.01719, allocations: 499.6 kB / 383.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002138/0.01741, allocations: 71.53 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01741, allocations: 0 / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.846e-05/0.01751, allocations: 39.67 kB / 383.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.01788, allocations: 31.92 kB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005506/0.01843, allocations: 249.4 kB / 383.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.01856, allocations: 112.9 kB / 383.7 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.252e-05/0.01862, allocations: 17.27 kB / 383.7 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.01866, allocations: 16.5 kB / 383.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01866, allocations: 0 / 383.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of Templates: time 0.005984/0.02464, allocations: 1.877 MB / 385.6 MB, free: 10.48 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.090707557043061]