Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.001917/0.001917, allocations: 82.5 kB / 20.68 MB, free: 1.039 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.002427/0.002427, allocations: 163.5 kB / 23.95 MB, free: 4.172 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.479/1.479, allocations: 177.2 MB / 204.3 MB, free: 9.188 MB / 190.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.21/0.21, allocations: 34.29 MB / 295 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 180] 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 442.8 MB, free: 5.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.148e-05/4.355e-05, allocations: 2.281 kB / 442.8 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.00341/0.003454, allocations: 1.727 MB / 444.5 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002796/0.00625, allocations: 1.664 MB / 446.2 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.947e-05/0.00633, allocations: 3.938 kB / 446.2 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002876/0.006618, allocations: 39.77 kB / 446.2 MB, free: 1.867 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003733/0.006991, allocations: 99.42 kB / 446.3 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.007196, allocations: 75.66 kB / 446.4 MB, free: 1.695 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.007402, allocations: 111.6 kB / 446.5 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.746e-05/0.007499, allocations: 7.984 kB / 446.5 MB, free: 1.578 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.007626, allocations: 59.83 kB / 446.5 MB, free: 1.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.007749, allocations: 31.89 kB / 446.6 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.007775, allocations: 15.94 kB / 446.6 MB, free: 1.473 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002177/0.007992, allocations: 99.81 kB / 446.7 MB, free: 1.375 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.52e-05/0.008057, allocations: 27.86 kB / 446.7 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.799e-05/0.008105, allocations: 19.92 kB / 446.7 MB, free: 1.328 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.008416, allocations: 171.5 kB / 446.9 MB, free: 1.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.00842, allocations: 0 / 446.9 MB, free: 1.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.008421, allocations: 0 / 446.9 MB, free: 1.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.818e-06/0.008424, allocations: 0 / 446.9 MB, free: 1.16 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.000602/0.009026, allocations: 353.4 kB / 447.3 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.009063, allocations: 8.031 kB / 447.3 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.174e-05/0.009114, allocations: 12.88 kB / 447.3 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.009364, allocations: 158.1 kB / 447.4 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.009377, allocations: 4.375 kB / 447.4 MB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.009401, allocations: 12.27 kB / 447.4 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.009611, allocations: 97.03 kB / 447.5 MB, free: 468 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.009622, allocations: 0 / 447.5 MB, free: 468 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.009633, allocations: 0 / 447.5 MB, free: 468 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.009642, allocations: 7.984 kB / 447.5 MB, free: 460 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.31e-05/0.009725, allocations: 19.97 kB / 447.6 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.0101, allocations: 236.5 kB / 447.8 MB, free: 172 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.01029, allocations: 58.69 kB / 447.9 MB, free: 104 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.309e-05/0.01035, allocations: 20.84 kB / 447.9 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.01036, allocations: 0 / 447.9 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2095/0.2199, allocations: 68.88 kB / 447.9 MB, free: 19.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 4.358e-06/0.2199, allocations: 0.5 kB / 447.9 MB, free: 19.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008651/0.2207, allocations: 173.7 kB / 448.1 MB, free: 19.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.2208, allocations: 80.25 kB / 448.2 MB, free: 19.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.221, allocations: 170.4 kB / 448.4 MB, free: 19.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.221, allocations: 28.08 kB / 448.4 MB, free: 19.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.221, allocations: 101.2 kB / 448.5 MB, free: 19.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.2211, allocations: 24.2 kB / 448.5 MB, free: 19.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.492e-05/0.2211, allocations: 27.47 kB / 448.5 MB, free: 19.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.18e-05/0.2212, allocations: 323.4 kB / 448.8 MB, free: 18.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.849e-05/0.2213, allocations: 21.66 kB / 448.9 MB, free: 18.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.752e-05/0.2214, allocations: 76.27 kB / 448.9 MB, free: 18.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.2215, allocations: 63.23 kB / 449 MB, free: 18.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.2215, allocations: 3.75 kB / 449 MB, free: 18.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002355/0.2217, allocations: 101.1 kB / 449.1 MB, free: 18.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.2217, allocations: 5.562 kB / 449.1 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.2218, allocations: 1 kB / 449.1 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/0.2218, allocations: 1.828 kB / 449.1 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.2219, allocations: 18.03 kB / 449.1 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.2219, allocations: 1.031 kB / 449.1 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.679e-05/0.222, allocations: 10.5 kB / 449.1 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.222, allocations: 3.906 kB / 449.1 MB, free: 18.63 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.0001191/0.2221, allocations: 131.4 kB / 449.3 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.2221, allocations: 12.28 kB / 449.3 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.2224, allocations: 119.7 kB / 449.4 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.2224, allocations: 2.547 kB / 449.4 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2224, allocations: 0 / 449.4 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2224, allocations: 0 / 449.4 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004642/0.2229, allocations: 352 kB / 449.8 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2229, allocations: 4.219 kB / 449.8 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.562e-05/0.2229, allocations: 14.05 kB / 449.8 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.257e-06/0.2229, allocations: 4.141 kB / 449.8 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.223, allocations: 2.859 kB / 449.8 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.223, allocations: 0.75 kB / 449.8 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.223, allocations: 1.984 kB / 449.8 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.2232, allocations: 212.8 kB / 450 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.522e-05/0.2232, allocations: 12.12 kB / 450 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.2233, allocations: 8.453 kB / 450 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.535e-05/0.2234, allocations: 6.781 kB / 450 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/0.2234, allocations: 6.625 kB / 450 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.2234, allocations: 3.312 kB / 450 MB, free: 18.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.2235, allocations: 144.5 kB / 450.2 MB, free: 17.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2235, allocations: 0 / 450.2 MB, free: 17.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003557/0.2239, allocations: 46.23 kB / 450.2 MB, free: 17.91 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.002291/0.2262, allocations: 0.5965 MB / 450.8 MB, free: 17.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002429/0.2264, allocations: 57.61 kB / 450.9 MB, free: 17.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2264, allocations: 4.062 kB / 450.9 MB, free: 17.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.586e-05/0.2265, allocations: 34.05 kB / 450.9 MB, free: 17.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.2269, allocations: 30.34 kB / 450.9 MB, free: 17.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006268/0.2276, allocations: 203.1 kB / 451.1 MB, free: 17.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.2277, allocations: 89 kB / 451.2 MB, free: 17.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.508e-05/0.2278, allocations: 19.22 kB / 451.2 MB, free: 17.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.562e-05/0.2278, allocations: 20.88 kB / 451.3 MB, free: 17.44 MB / 366.1 MB Notification: Performance of SimCode: time 8.12e-07/0.2278, allocations: 0 / 451.3 MB, free: 17.44 MB / 366.1 MB Notification: Performance of Templates: time 0.008172/0.236, allocations: 2.509 MB / 453.8 MB, free: 17.13 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.051454346626997]