Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001083/0.001083, 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.0009352/0.0009352, 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 1.059/1.059, allocations: 177.2 MB / 205 MB, free: 5.598 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.2854/0.2854, allocations: 34.25 MB / 295.7 MB, free: 0.7578 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.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 378.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.475e-05, allocations: 2.312 kB / 378.1 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.0057/0.005725, allocations: 1.653 MB / 379.7 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008567/0.006582, allocations: 0.5376 MB / 380.3 MB, free: 400 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.514e-05/0.006637, allocations: 0 / 380.3 MB, free: 400 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.006961, allocations: 127.6 kB / 380.4 MB, free: 272 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.007274, allocations: 131.5 kB / 380.5 MB, free: 140 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003255/0.01053, allocations: 87.64 kB / 380.6 MB, free: 52 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.01073, allocations: 103.9 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.322e-05/0.01082, allocations: 11.98 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.625e-05/0.0109, allocations: 55.8 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.01102, allocations: 83.83 kB / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.01104, allocations: 7.938 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.884e-05/0.01113, allocations: 43.91 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.24e-05/0.01118, allocations: 31.86 kB / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.01121, allocations: 19.92 kB / 380.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.0114, allocations: 99.59 kB / 381 MB, free: 15.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.0114, allocations: 4 kB / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.0114, allocations: 0 / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.01141, allocations: 0 / 381.1 MB, free: 15.6 MB / 362.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.000459/0.01186, allocations: 467.7 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.0119, allocations: 15.95 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.01195, allocations: 20.84 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.01211, allocations: 148.3 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.01212, allocations: 384 / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.01214, allocations: 4.375 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.01227, allocations: 62.92 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.01228, allocations: 192 / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.01229, allocations: 12.12 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.0123, allocations: 0 / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.964e-05/0.01234, allocations: 7.984 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.01265, allocations: 311.6 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.842e-05/0.01272, allocations: 43.05 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.627e-05/0.01274, allocations: 19.61 kB / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.01276, allocations: 0 / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.01279, allocations: 41.33 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.01279, allocations: 0 / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.003573/0.01636, allocations: 177.4 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.0164, allocations: 55.41 kB / 382.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.01659, allocations: 270.8 kB / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.0166, allocations: 25.7 kB / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.886e-05/0.01668, allocations: 174.8 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.01671, allocations: 31.86 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.01675, allocations: 23.38 kB / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.01689, allocations: 0.504 MB / 383.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.545e-05/0.01691, allocations: 11.98 kB / 383.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.053e-05/0.01693, allocations: 12 kB / 383.4 MB, free: 13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.89e-05/0.01699, allocations: 39.61 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.01699, allocations: 0 / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001124/0.0171, allocations: 81.59 kB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.01712, allocations: 9.719 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.01712, allocations: 0 / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.01714, allocations: 0 / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.126e-05/0.01723, allocations: 15.98 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.01723, allocations: 3.938 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.685e-05/0.01726, allocations: 7.938 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.01727, allocations: 4 kB / 383.6 MB, free: 12.83 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.675e-05/0.01734, allocations: 168.5 kB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.01738, allocations: 15.91 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.01753, allocations: 91.11 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.01753, allocations: 4 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.01753, allocations: 0 / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.01754, allocations: 0 / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003453/0.01788, allocations: 385.4 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01788, allocations: 0 / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.848e-05/0.01793, allocations: 19.98 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01793, allocations: 4.031 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.01794, allocations: 0 / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.01794, allocations: 7.938 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01794, allocations: 0 / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.01809, allocations: 243.4 kB / 384.5 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.01811, allocations: 7.953 kB / 384.5 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.01812, allocations: 7.984 kB / 384.5 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.818e-05/0.01818, allocations: 4 kB / 384.5 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.01821, allocations: 15.92 kB / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.01822, allocations: 4 kB / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001044/0.01832, allocations: 192.1 kB / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01832, allocations: 0 / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002397/0.01856, allocations: 20 kB / 384.8 MB, free: 11.58 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.004074/0.02264, allocations: 443 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001149/0.02275, allocations: 35.67 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.02276, allocations: 4 kB / 385.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.711e-05/0.02279, allocations: 35.55 kB / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.02308, allocations: 27.19 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/0.02352, allocations: 271.1 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.304e-05/0.02358, allocations: 71.33 kB / 385.6 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.941e-05/0.02362, allocations: 13.03 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.02365, allocations: 20.48 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02365, allocations: 4 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of Templates: time 0.006383/0.03003, allocations: 1.496 MB / 387.2 MB, free: 9.293 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/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: 3.2163749341852963]