Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.001353/0.001353, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.001332/0.001332, allocations: 168.8 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.398/1.398, allocations: 177.2 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.203/0.203, allocations: 32.81 MB / 293.5 MB, free: 12 kB / 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 440.2 MB, free: 8.066 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.188e-05, allocations: 2.281 kB / 440.2 MB, free: 8.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002967/0.002989, allocations: 1.72 MB / 441.9 MB, free: 6.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.004778, allocations: 0.9703 MB / 442.9 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.125e-05/0.00485, allocations: 0 / 442.9 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.005152, allocations: 51.75 kB / 442.9 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003757/0.005528, allocations: 95.48 kB / 443 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.005731, allocations: 87.53 kB / 443.1 MB, free: 5.121 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.005925, allocations: 111.7 kB / 443.2 MB, free: 5.012 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.789e-05/0.006013, allocations: 4 kB / 443.2 MB, free: 5.008 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.006124, allocations: 55.77 kB / 443.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.455e-05/0.006208, allocations: 27.91 kB / 443.3 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.00623, allocations: 4 kB / 443.3 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.933e-05/0.006329, allocations: 43.98 kB / 443.3 MB, free: 4.879 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.99e-05/0.006399, allocations: 27.86 kB / 443.4 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.006445, allocations: 19.92 kB / 443.4 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.006673, allocations: 127.5 kB / 443.5 MB, free: 4.707 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.006678, allocations: 4 kB / 443.5 MB, free: 4.703 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.006679, allocations: 0 / 443.5 MB, free: 4.703 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.006684, allocations: 0 / 443.5 MB, free: 4.703 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.0005889/0.007273, allocations: 353.5 kB / 443.9 MB, free: 4.328 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.007308, allocations: 12.02 kB / 443.9 MB, free: 4.316 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.472e-05/0.007363, allocations: 16.84 kB / 443.9 MB, free: 4.301 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.007627, allocations: 166.2 kB / 444 MB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.007643, allocations: 384 / 444 MB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.867e-05/0.007742, allocations: 8.375 kB / 444.1 MB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.007931, allocations: 54.23 kB / 444.1 MB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.007947, allocations: 3.938 kB / 444.1 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.007958, allocations: 0 / 444.1 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.007962, allocations: 0 / 444.1 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.28e-05/0.008045, allocations: 23.97 kB / 444.1 MB, free: 4.016 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.008424, allocations: 244.5 kB / 444.4 MB, free: 3.746 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.008616, allocations: 58.69 kB / 444.4 MB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.026e-05/0.008676, allocations: 32.72 kB / 444.5 MB, free: 3.645 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.008692, allocations: 0 / 444.5 MB, free: 3.645 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.008856, allocations: 71.33 kB / 444.5 MB, free: 3.562 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.008858, allocations: 0 / 444.5 MB, free: 3.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005682/0.009426, allocations: 189.4 kB / 444.7 MB, free: 3.371 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.009472, allocations: 55.39 kB / 444.8 MB, free: 3.305 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.009722, allocations: 247.5 kB / 445 MB, free: 3.055 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.009742, allocations: 29.7 kB / 445 MB, free: 3.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.913e-05/0.009821, allocations: 108.1 kB / 445.1 MB, free: 2.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.009853, allocations: 27.8 kB / 445.2 MB, free: 2.883 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.009898, allocations: 25.7 kB / 445.2 MB, free: 2.852 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.01005, allocations: 326.8 kB / 445.5 MB, free: 2.523 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.153e-05/0.01011, allocations: 19.98 kB / 445.5 MB, free: 2.504 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.675e-05/0.01019, allocations: 37.7 kB / 445.6 MB, free: 2.461 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.01032, allocations: 65.64 kB / 445.6 MB, free: 2.391 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.01032, allocations: 0 / 445.6 MB, free: 2.391 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002008/0.01052, allocations: 105.5 kB / 445.7 MB, free: 2.281 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.01054, allocations: 8.031 kB / 445.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.01054, allocations: 0 / 445.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.01055, allocations: 0 / 445.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.387e-05/0.01064, allocations: 23.92 kB / 445.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.01065, allocations: 0 / 445.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.735e-05/0.0107, allocations: 4 kB / 445.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.0107, allocations: 0 / 445.8 MB, free: 2.246 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.0001244/0.01083, allocations: 137.8 kB / 445.9 MB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.01086, allocations: 15.91 kB / 445.9 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.01114, allocations: 135 kB / 446.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.01114, allocations: 0 / 446.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.01114, allocations: 0 / 446.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.01114, allocations: 0 / 446.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000521/0.01166, allocations: 355.2 kB / 446.4 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01167, allocations: 0 / 446.4 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.139e-05/0.01171, allocations: 12 kB / 446.4 MB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01171, allocations: 4.312 kB / 446.4 MB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.01172, allocations: 0 / 446.4 MB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.01172, allocations: 8 kB / 446.4 MB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01173, allocations: 32 / 446.4 MB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.01203, allocations: 228.2 kB / 446.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.01213, allocations: 11.91 kB / 446.7 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.01215, allocations: 0 / 446.7 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.56e-05/0.01223, allocations: 4 kB / 446.7 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.01227, allocations: 11.98 kB / 446.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.01228, allocations: 7.938 kB / 446.7 MB, free: 1.266 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001682/0.01245, allocations: 183.1 kB / 446.9 MB, free: 1.086 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01245, allocations: 0 / 446.9 MB, free: 1.086 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.01272, allocations: 31.92 kB / 446.9 MB, free: 1.055 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.001824/0.01454, allocations: 491.6 kB / 447.4 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.01473, allocations: 63.89 kB / 447.4 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01473, allocations: 0 / 447.4 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.452e-05/0.01482, allocations: 32.05 kB / 447.5 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.01516, allocations: 30.27 kB / 447.5 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000558/0.01572, allocations: 262.7 kB / 447.8 MB, free: 376 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.01582, allocations: 104.6 kB / 447.9 MB, free: 252 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.764e-05/0.01587, allocations: 16.95 kB / 447.9 MB, free: 232 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.211e-05/0.01591, allocations: 24.56 kB / 447.9 MB, free: 208 kB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.01591, allocations: 0 / 447.9 MB, free: 208 kB / 366.1 MB Notification: Performance of Templates: time 0.1677/0.1836, allocations: 1.849 MB / 449.7 MB, free: 21.12 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.54186899587512]