Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001041/0.001041, allocations: 79.59 kB / 21.18 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.0009766/0.0009766, allocations: 161 kB / 24.56 MB, free: 16 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.9605/0.9605, allocations: 177.1 MB / 205 MB, free: 5.609 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.2623/0.2623, allocations: 34.26 MB / 295.7 MB, free: 0.6953 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 378 MB, free: 2.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.356e-05, allocations: 2.312 kB / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002185/0.002208, allocations: 1.634 MB / 379.7 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000756/0.002964, allocations: 0.5298 MB / 380.2 MB, free: 444 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.531e-05/0.00302, allocations: 0 / 380.2 MB, free: 444 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.003218, allocations: 35.7 kB / 380.2 MB, free: 408 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.003492, allocations: 75.62 kB / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.003739, allocations: 95.64 kB / 380.4 MB, free: 236 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.003868, allocations: 63.83 kB / 380.5 MB, free: 172 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.328e-05/0.003961, allocations: 7.984 kB / 380.5 MB, free: 164 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.421e-05/0.004015, allocations: 31.86 kB / 380.5 MB, free: 132 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.269e-05/0.004068, allocations: 19.92 kB / 380.5 MB, free: 112 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.004082, allocations: 4 kB / 380.5 MB, free: 108 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.552e-05/0.004157, allocations: 35.91 kB / 380.6 MB, free: 72 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.574e-05/0.004203, allocations: 15.92 kB / 380.6 MB, free: 56 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.851e-05/0.004232, allocations: 11.94 kB / 380.6 MB, free: 44 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.004383, allocations: 67.8 kB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.004386, allocations: 3.938 kB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004386, allocations: 4 kB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.00439, allocations: 0 / 380.7 MB, free: 15.97 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003544/0.004745, allocations: 404.2 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.004779, allocations: 11.97 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.00482, allocations: 12.89 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.004948, allocations: 132.5 kB / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.004957, allocations: 384 / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.004979, allocations: 8.312 kB / 381.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.005085, allocations: 54.95 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.005093, allocations: 192 / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.005101, allocations: 8.125 kB / 381.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.005107, allocations: 0 / 381.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.866e-05/0.005136, allocations: 11.98 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002713/0.005407, allocations: 271.8 kB / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.005578, allocations: 39.16 kB / 381.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.112e-05/0.005599, allocations: 15.67 kB / 381.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.005621, allocations: 7.922 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.855e-05/0.00564, allocations: 33.39 kB / 381.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.005641, allocations: 0 / 381.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003244/0.005965, allocations: 101.4 kB / 381.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.005995, allocations: 59.41 kB / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.006104, allocations: 204.8 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.006115, allocations: 25.7 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.717e-05/0.006162, allocations: 138.9 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.006188, allocations: 31.77 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.006216, allocations: 19.38 kB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.006325, allocations: 0.4884 MB / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.64e-05/0.006341, allocations: 4 kB / 382.7 MB, free: 13.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.619e-05/0.006357, allocations: 16.06 kB / 382.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.61e-05/0.006393, allocations: 23.67 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.006394, allocations: 4 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.157e-05/0.006466, allocations: 57.59 kB / 382.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.006478, allocations: 4 kB / 382.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.006483, allocations: 7.922 kB / 382.8 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.006501, allocations: 4 kB / 382.8 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.525e-05/0.006546, allocations: 8 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.006551, allocations: 0 / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.853e-05/0.006569, allocations: 4 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.006575, allocations: 4 kB / 382.9 MB, free: 13.58 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 (5): * Single equations (assignments): 5 * 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.403e-05/0.006639, allocations: 156.6 kB / 383 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.006659, allocations: 15.89 kB / 383 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.006777, allocations: 70.14 kB / 383.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.006779, allocations: 3.938 kB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.006784, allocations: 3.984 kB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.006786, allocations: 0 / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.007019, allocations: 321.4 kB / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.00702, allocations: 0 / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.559e-05/0.007056, allocations: 12.3 kB / 383.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.007058, allocations: 0 / 383.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.007066, allocations: 4 kB / 383.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.007068, allocations: 8 kB / 383.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.00707, allocations: 0 / 383.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.007175, allocations: 211.8 kB / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.596e-06/0.007183, allocations: 7.953 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.007193, allocations: 0 / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.221e-05/0.007226, allocations: 3.984 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.007256, allocations: 4 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.00726, allocations: 0 / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.408e-05/0.007324, allocations: 151.2 kB / 383.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007324, allocations: 0 / 383.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001639/0.007488, allocations: 15.94 kB / 383.8 MB, free: 12.54 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 (5): * Single equations (assignments): 5 * 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.0007989/0.008287, allocations: 385.3 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.008388, allocations: 31.61 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.00839, allocations: 4 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.201e-05/0.008412, allocations: 15.69 kB / 384.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.008619, allocations: 23.92 kB / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000309/0.008928, allocations: 178.6 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.828e-05/0.008966, allocations: 62.53 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.731e-05/0.008993, allocations: 11.98 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.009019, allocations: 12.5 kB / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.00902, allocations: 4 kB / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of Templates: time 0.002925/0.01195, allocations: 1.164 MB / 385.7 MB, free: 10.75 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.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.29714457411319]