Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.001399/0.001399, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001648/0.001648, allocations: 165 kB / 24.56 MB, free: 12 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.9825/0.9825, allocations: 177.1 MB / 205 MB, free: 5.598 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.2507/0.2507, allocations: 32.81 MB / 294.3 MB, free: 1.262 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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 376 MB, free: 4.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.523e-05, allocations: 9.344 kB / 376 MB, free: 4.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.00301/0.003035, allocations: 1.661 MB / 377.7 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.004733, allocations: 1.282 MB / 379 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.892e-05/0.004802, allocations: 4 kB / 379 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.005062, allocations: 19.84 kB / 379 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003811/0.005443, allocations: 99.42 kB / 379.1 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.005719, allocations: 91.69 kB / 379.2 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.005896, allocations: 79.7 kB / 379.3 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.005997, allocations: 12 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.443e-05/0.006072, allocations: 35.89 kB / 379.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.006211, allocations: 35.89 kB / 379.3 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.00623, allocations: 4 kB / 379.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.006409, allocations: 83.89 kB / 379.4 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.113e-05/0.00646, allocations: 23.92 kB / 379.5 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.006495, allocations: 19.92 kB / 379.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.006759, allocations: 139.5 kB / 379.6 MB, free: 1.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.006762, allocations: 0 / 379.6 MB, free: 1.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006763, allocations: 4 kB / 379.6 MB, free: 1.016 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.006768, allocations: 0 / 379.6 MB, free: 1.016 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004982/0.007266, allocations: 432 kB / 380 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.00731, allocations: 12.03 kB / 380.1 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.424e-05/0.007374, allocations: 8.891 kB / 380.1 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.007565, allocations: 156.4 kB / 380.2 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.007576, allocations: 384 / 380.2 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.007602, allocations: 4.375 kB / 380.2 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.007782, allocations: 116 kB / 380.3 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.007794, allocations: 192 / 380.3 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.007807, allocations: 4.125 kB / 380.3 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.007816, allocations: 0 / 380.3 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.94e-05/0.007865, allocations: 11.98 kB / 380.3 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006465/0.008512, allocations: 291.7 kB / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.611e-05/0.008598, allocations: 47.05 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.195e-05/0.00863, allocations: 19.75 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.00865, allocations: 0 / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.008677, allocations: 37.39 kB / 380.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.008679, allocations: 4 kB / 380.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004812/0.00916, allocations: 133.4 kB / 380.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.009203, allocations: 85.05 kB / 381 MB, free: 15.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.009384, allocations: 203.6 kB / 381.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.009397, allocations: 25.7 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.92e-05/0.009466, allocations: 142.8 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.009497, allocations: 31.73 kB / 381.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.009541, allocations: 23.38 kB / 381.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.009689, allocations: 0.4923 MB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.123e-05/0.009721, allocations: 15.98 kB / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.773e-05/0.009778, allocations: 53.08 kB / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.145e-05/0.00985, allocations: 39.84 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.009851, allocations: 0 / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001395/0.009991, allocations: 85.55 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.01001, allocations: 4 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.01001, allocations: 0 / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.01003, allocations: 0 / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.01013, allocations: 19.98 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.01014, allocations: 0 / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.223e-05/0.01017, allocations: 384 / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.01018, allocations: 4 kB / 382.1 MB, free: 14.31 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 8.689e-05/0.01027, allocations: 168.5 kB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.01031, allocations: 7.953 kB / 382.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.01049, allocations: 90.38 kB / 382.3 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.01049, allocations: 8 kB / 382.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.0105, allocations: 0 / 382.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.0105, allocations: 0 / 382.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003584/0.01086, allocations: 349.3 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01086, allocations: 0 / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.114e-05/0.01092, allocations: 19.98 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.01093, allocations: 0 / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.01094, allocations: 11.98 kB / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01094, allocations: 0 / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01094, allocations: 0 / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.01111, allocations: 231.7 kB / 382.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.01112, allocations: 3.953 kB / 382.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.01114, allocations: 8 kB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.029e-05/0.0112, allocations: 0 / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.01123, allocations: 11.92 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.01124, allocations: 4 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.596e-05/0.01132, allocations: 153 kB / 383.1 MB, free: 13.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01132, allocations: 4 kB / 383.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003235/0.01165, allocations: 43.81 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.001362/0.01301, allocations: 486.3 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.01315, allocations: 39.67 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01315, allocations: 4 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.402e-05/0.0132, allocations: 31.61 kB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.01352, allocations: 20.28 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004091/0.01393, allocations: 190.3 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.097e-05/0.01398, allocations: 67.28 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.349e-05/0.01404, allocations: 8.734 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/0.01409, allocations: 24.48 kB / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01409, allocations: 0 / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of Templates: time 0.005093/0.01919, allocations: 2.099 MB / 386.1 MB, free: 10.32 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.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.1067490386776626]