Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001012/0.001012, allocations: 83.58 kB / 21.19 MB, free: 3.387 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.001215/0.001215, allocations: 161 kB / 24.56 MB, free: 20 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 0.9114/0.9114, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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.2671/0.2671, allocations: 32.8 MB / 294.3 MB, free: 0.7109 MB / 266.7 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.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 376 MB, free: 4.496 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.547e-05/3.745e-05, allocations: 13.48 kB / 376.1 MB, free: 4.484 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002532/0.002569, allocations: 1.653 MB / 377.7 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007707/0.00334, allocations: 0.5493 MB / 378.3 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.987e-05/0.00341, allocations: 0 / 378.3 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.003747, allocations: 123.6 kB / 378.4 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003776/0.004125, allocations: 131.5 kB / 378.5 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003601/0.004485, allocations: 115.5 kB / 378.6 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.004667, allocations: 103.8 kB / 378.7 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.983e-05/0.004767, allocations: 11.98 kB / 378.7 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.022e-05/0.004837, allocations: 51.88 kB / 378.8 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.004952, allocations: 91.81 kB / 378.9 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.004967, allocations: 4 kB / 378.9 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.949e-05/0.005057, allocations: 47.86 kB / 378.9 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/0.005109, allocations: 31.84 kB / 379 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.005138, allocations: 15.94 kB / 379 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.005313, allocations: 99.59 kB / 379.1 MB, free: 1.449 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.005316, allocations: 4 kB / 379.1 MB, free: 1.445 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.005317, allocations: 0 / 379.1 MB, free: 1.445 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.005322, allocations: 0 / 379.1 MB, free: 1.445 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004131/0.005735, allocations: 467.7 kB / 379.5 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.005771, allocations: 8.031 kB / 379.5 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.987e-05/0.005821, allocations: 20.84 kB / 379.6 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.00597, allocations: 156.3 kB / 379.7 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.00598, allocations: 384 / 379.7 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.006, allocations: 4.375 kB / 379.7 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.00611, allocations: 54.95 kB / 379.8 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.00612, allocations: 192 / 379.8 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.006131, allocations: 16.11 kB / 379.8 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.006138, allocations: 3.938 kB / 379.8 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.645e-05/0.006174, allocations: 15.98 kB / 379.8 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.006484, allocations: 307.6 kB / 380.1 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.898e-05/0.006553, allocations: 43.05 kB / 380.1 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.412e-05/0.006577, allocations: 15.62 kB / 380.2 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.006596, allocations: 96 / 380.2 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.006622, allocations: 41.38 kB / 380.2 MB, free: 188 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.006623, allocations: 0 / 380.2 MB, free: 188 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005261/0.007149, allocations: 181.2 kB / 380.4 MB, free: 0 / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.007191, allocations: 51.41 kB / 380.4 MB, free: 15.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.007349, allocations: 274.8 kB / 380.7 MB, free: 15.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.00736, allocations: 25.7 kB / 380.7 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.432e-05/0.007425, allocations: 170.8 kB / 380.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.007448, allocations: 23.75 kB / 380.9 MB, free: 15.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.007479, allocations: 31.36 kB / 380.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.00759, allocations: 0.5079 MB / 381.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.211e-05/0.007612, allocations: 8 kB / 381.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.93e-05/0.007631, allocations: 15.98 kB / 381.5 MB, free: 14.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.885e-05/0.00768, allocations: 39.97 kB / 381.5 MB, free: 14.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.007681, allocations: 0 / 381.5 MB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.489e-05/0.007776, allocations: 81.53 kB / 381.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.00779, allocations: 8 kB / 381.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.007795, allocations: 0 / 381.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.007809, allocations: 3.984 kB / 381.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.634e-05/0.007885, allocations: 12 kB / 381.6 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.00789, allocations: 0 / 381.6 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.102e-05/0.007911, allocations: 7.984 kB / 381.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.007917, allocations: 0 / 381.6 MB, free: 14.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.942e-05/0.007986, allocations: 168.5 kB / 381.8 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.00801, allocations: 19.84 kB / 381.8 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.00816, allocations: 91.08 kB / 381.9 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.008164, allocations: 11.92 kB / 381.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.008169, allocations: 0 / 381.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.008171, allocations: 0 / 381.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.008475, allocations: 393 kB / 382.3 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.008477, allocations: 0 / 382.3 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.784e-05/0.008515, allocations: 12 kB / 382.3 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.008517, allocations: 4.031 kB / 382.3 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.008526, allocations: 7.984 kB / 382.3 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.008528, allocations: 0 / 382.3 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.00853, allocations: 3.938 kB / 382.3 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.008656, allocations: 239.4 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.008666, allocations: 12.38 kB / 382.6 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.008679, allocations: 0 / 382.6 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.305e-05/0.008712, allocations: 7.984 kB / 382.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.008744, allocations: 7.922 kB / 382.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.008754, allocations: 4 kB / 382.6 MB, free: 13.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.817e-05/0.008842, allocations: 200.1 kB / 382.8 MB, free: 13.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008842, allocations: 0 / 382.8 MB, free: 13.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001675/0.00901, allocations: 23.98 kB / 382.8 MB, free: 13.41 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009064/0.009916, allocations: 442.5 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.01005, allocations: 43.66 kB / 383.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01005, allocations: 0 / 383.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.285e-05/0.01008, allocations: 31.61 kB / 383.3 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.01032, allocations: 23.94 kB / 383.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004491/0.01077, allocations: 271.2 kB / 383.6 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.184e-05/0.01082, allocations: 75.33 kB / 383.7 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.574e-05/0.01087, allocations: 17.02 kB / 383.7 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.0109, allocations: 16.5 kB / 383.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.0109, allocations: 7.938 kB / 383.7 MB, free: 12.6 MB / 362.7 MB Notification: Performance of Templates: time 0.003508/0.01441, allocations: 1.533 MB / 385.2 MB, free: 11.08 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9951106710359454]