Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.0009735/0.0009735, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001115/0.001115, allocations: 163.6 kB / 24.99 MB, free: 8.793 MB / 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.9935/0.9935, allocations: 177.1 MB / 205.3 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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.2931/0.2931, allocations: 34.26 MB / 296 MB, free: 0.6992 MB / 266.7 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.CombiTable1Ds.Test3,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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 378 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.534e-05, allocations: 2.312 kB / 378.1 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.00249/0.002515, allocations: 1.646 MB / 379.7 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008093/0.003324, allocations: 0.5375 MB / 380.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.54e-05/0.00339, allocations: 0 / 380.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.003655, allocations: 71.7 kB / 380.3 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.003925, allocations: 99.53 kB / 380.4 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.004158, allocations: 95.69 kB / 380.5 MB, free: 484 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.00432, allocations: 83.75 kB / 380.6 MB, free: 400 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.786e-05/0.004417, allocations: 15.92 kB / 380.6 MB, free: 384 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.91e-05/0.004487, allocations: 43.89 kB / 380.6 MB, free: 340 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.273e-05/0.004579, allocations: 47.88 kB / 380.7 MB, free: 292 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.004594, allocations: 4 kB / 380.7 MB, free: 288 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.741e-05/0.004681, allocations: 43.92 kB / 380.7 MB, free: 244 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.75e-05/0.004729, allocations: 23.86 kB / 380.8 MB, free: 220 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.004759, allocations: 15.92 kB / 380.8 MB, free: 204 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.004923, allocations: 87.67 kB / 380.9 MB, free: 116 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004925, allocations: 4 kB / 380.9 MB, free: 112 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.004926, allocations: 0 / 380.9 MB, free: 112 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.004931, allocations: 0 / 380.9 MB, free: 112 kB / 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.0004183/0.005349, allocations: 440 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.005385, allocations: 8.031 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.005428, allocations: 8.891 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.005572, allocations: 148.4 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.005582, allocations: 4.375 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.005602, allocations: 12.16 kB / 381.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.005713, allocations: 54.95 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.005723, allocations: 4.188 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.005733, allocations: 4.125 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.005742, allocations: 4 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.279e-05/0.005774, allocations: 7.984 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003051/0.006079, allocations: 295.8 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.183e-05/0.006141, allocations: 38.98 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.573e-05/0.006167, allocations: 23.7 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.006185, allocations: 4 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.006206, allocations: 33.39 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.006208, allocations: 0 / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005617/0.006769, allocations: 173.2 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.006799, allocations: 55.34 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.006949, allocations: 230.6 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.00696, allocations: 29.69 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.171e-05/0.007022, allocations: 154.8 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.007049, allocations: 27.78 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.007087, allocations: 23.38 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.007209, allocations: 0.4961 MB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.854e-05/0.007238, allocations: 15.98 kB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.937e-05/0.007257, allocations: 12 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.591e-05/0.007313, allocations: 35.75 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.007315, allocations: 4 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001089/0.007424, allocations: 81.52 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.00744, allocations: 8 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.007445, allocations: 0 / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.007457, allocations: 0 / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.804e-05/0.007535, allocations: 12 kB / 383.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.007539, allocations: 0 / 383.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.545e-05/0.007565, allocations: 7.984 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.007571, allocations: 4 kB / 383.3 MB, free: 13.48 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 7.17e-05/0.007642, allocations: 168.5 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.007802, allocations: 15.91 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.007946, allocations: 83.39 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.007949, allocations: 0 / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.007952, allocations: 0 / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.007956, allocations: 3.984 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.008276, allocations: 377.1 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.008278, allocations: 0 / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.939e-05/0.008327, allocations: 20.02 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.008332, allocations: 4 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.00834, allocations: 4 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.008341, allocations: 0 / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.008343, allocations: 0 / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.008477, allocations: 243.4 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.17e-05/0.008489, allocations: 7.938 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.008503, allocations: 4 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.297e-05/0.008556, allocations: 4 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.008589, allocations: 11.92 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.008594, allocations: 4 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.333e-05/0.008678, allocations: 167.9 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008678, allocations: 0 / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000235/0.008913, allocations: 23.94 kB / 384.4 MB, free: 12.27 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.000992/0.009905, allocations: 430.1 kB / 384.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.01002, allocations: 47.59 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01002, allocations: 0 / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.629e-05/0.01006, allocations: 27.61 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.01033, allocations: 27.98 kB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.0107, allocations: 230.2 kB / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.844e-05/0.01075, allocations: 75.27 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.797e-05/0.01079, allocations: 9.031 kB / 385.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.01082, allocations: 20.5 kB / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01082, allocations: 0 / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of Templates: time 0.003457/0.01427, allocations: 1.38 MB / 386.6 MB, free: 10.15 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.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: 3.265406843042001]