Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.00162/0.00162, allocations: 85.83 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.001671/0.001671, allocations: 169.2 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.395/1.395, allocations: 177.2 MB / 204.3 MB, free: 9.164 MB / 190.1 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.1986/0.1986, allocations: 32.81 MB / 293.5 MB, free: 24 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.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 440.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.705e-05, allocations: 5.234 kB / 440.1 MB, free: 8.129 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002903/0.00293, allocations: 1.615 MB / 441.7 MB, free: 6.504 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.003998, allocations: 0.5181 MB / 442.2 MB, free: 5.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.76e-05/0.004056, allocations: 7.938 kB / 442.3 MB, free: 5.973 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.004397, allocations: 127.6 kB / 442.4 MB, free: 5.848 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003591/0.004756, allocations: 127.5 kB / 442.5 MB, free: 5.723 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.005075, allocations: 95.62 kB / 442.6 MB, free: 5.629 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.005306, allocations: 99.73 kB / 442.7 MB, free: 5.531 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.91e-05/0.005395, allocations: 11.98 kB / 442.7 MB, free: 5.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.0055, allocations: 51.88 kB / 442.8 MB, free: 5.469 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.005646, allocations: 87.83 kB / 442.8 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.005666, allocations: 8 kB / 442.8 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.005768, allocations: 43.92 kB / 442.9 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.314e-05/0.005831, allocations: 31.86 kB / 442.9 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.005867, allocations: 15.91 kB / 442.9 MB, free: 5.285 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.006088, allocations: 123.5 kB / 443.1 MB, free: 5.164 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.006091, allocations: 0 / 443.1 MB, free: 5.164 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.006092, allocations: 0 / 443.1 MB, free: 5.164 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.006096, allocations: 0 / 443.1 MB, free: 5.164 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005135/0.00661, allocations: 361.4 kB / 443.4 MB, free: 4.781 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.006645, allocations: 8.031 kB / 443.4 MB, free: 4.773 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.006696, allocations: 20.84 kB / 443.4 MB, free: 4.754 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.006908, allocations: 153.3 kB / 443.6 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.006919, allocations: 384 / 443.6 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.006945, allocations: 12.31 kB / 443.6 MB, free: 4.566 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.007114, allocations: 54.22 kB / 443.7 MB, free: 4.508 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.007132, allocations: 4.125 kB / 443.7 MB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.007145, allocations: 12.06 kB / 443.7 MB, free: 4.492 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.00715, allocations: 0 / 443.7 MB, free: 4.492 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.007259, allocations: 23.98 kB / 443.7 MB, free: 4.469 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.007625, allocations: 240.5 kB / 443.9 MB, free: 4.203 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.007737, allocations: 54.48 kB / 444 MB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.104e-05/0.007788, allocations: 16.8 kB / 444 MB, free: 4.121 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.00781, allocations: 3.984 kB / 444 MB, free: 4.117 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.00784, allocations: 34.56 kB / 444 MB, free: 4.074 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.007841, allocations: 0 / 444 MB, free: 4.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009184/0.00876, allocations: 237.2 kB / 444.3 MB, free: 3.836 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.008807, allocations: 51.41 kB / 444.3 MB, free: 3.773 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.009098, allocations: 271.9 kB / 444.6 MB, free: 3.496 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.00912, allocations: 29.7 kB / 444.6 MB, free: 3.461 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.266e-05/0.009203, allocations: 116.1 kB / 444.7 MB, free: 3.344 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.009238, allocations: 31.73 kB / 444.8 MB, free: 3.312 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.00928, allocations: 17.72 kB / 444.8 MB, free: 3.289 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.009435, allocations: 326.8 kB / 445.1 MB, free: 2.961 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.294e-05/0.009518, allocations: 31.98 kB / 445.1 MB, free: 2.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.466e-05/0.009593, allocations: 27.97 kB / 445.2 MB, free: 2.902 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.009759, allocations: 60.84 kB / 445.2 MB, free: 2.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.009764, allocations: 3.984 kB / 445.2 MB, free: 2.836 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002304/0.009994, allocations: 101.6 kB / 445.3 MB, free: 2.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.01001, allocations: 8 kB / 445.3 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.01002, allocations: 0 / 445.3 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.01003, allocations: 0 / 445.3 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.01013, allocations: 19.98 kB / 445.3 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.01014, allocations: 4 kB / 445.3 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.73e-05/0.01019, allocations: 3.984 kB / 445.3 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.0102, allocations: 4 kB / 445.4 MB, free: 2.691 MB / 366.1 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 0.000126/0.01032, allocations: 143.7 kB / 445.5 MB, free: 2.543 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.01036, allocations: 15.91 kB / 445.5 MB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003024/0.01067, allocations: 127.3 kB / 445.6 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01067, allocations: 0 / 445.6 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.01067, allocations: 8 kB / 445.6 MB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.01068, allocations: 0 / 445.6 MB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000513/0.01119, allocations: 350.9 kB / 446 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.01119, allocations: 3.984 kB / 446 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.068e-05/0.01127, allocations: 15.94 kB / 446 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.01127, allocations: 4 kB / 446 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.01128, allocations: 7.922 kB / 446 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.01128, allocations: 0 / 446 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01128, allocations: 4.031 kB / 446 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.01157, allocations: 216.2 kB / 446.2 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.32e-05/0.01159, allocations: 11.95 kB / 446.2 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.01161, allocations: 0 / 446.2 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.663e-05/0.01168, allocations: 4 kB / 446.2 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.01172, allocations: 11.92 kB / 446.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.01173, allocations: 4 kB / 446.3 MB, free: 1.703 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002019/0.01193, allocations: 216.1 kB / 446.5 MB, free: 1.492 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01193, allocations: 3.938 kB / 446.5 MB, free: 1.488 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.0122, allocations: 27.89 kB / 446.5 MB, free: 1.461 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: 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.001805/0.014, allocations: 476.3 kB / 447 MB, free: 1.203 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002391/0.01424, allocations: 75.94 kB / 447 MB, free: 1.129 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.01424, allocations: 0 / 447 MB, free: 1.129 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.051e-05/0.01433, allocations: 31.92 kB / 447.1 MB, free: 1.098 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.01467, allocations: 33.89 kB / 447.1 MB, free: 1.074 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006458/0.01532, allocations: 307.5 kB / 447.4 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.01544, allocations: 105.2 kB / 447.5 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.528e-05/0.01549, allocations: 13.03 kB / 447.5 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.01554, allocations: 20.48 kB / 447.5 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.01554, allocations: 3.938 kB / 447.5 MB, free: 0.582 MB / 366.1 MB Notification: Performance of Templates: time 0.166/0.1816, allocations: 1.375 MB / 448.9 MB, free: 21.35 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.479837939143181]