Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001236/0.001236, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001465/0.001465, allocations: 165.3 kB / 24.82 MB, free: 9.27 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 1.035/1.035, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.2886/0.2886, allocations: 34.27 MB / 296.1 MB, free: 0.7227 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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.872e-05, allocations: 2.312 kB / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003039/0.003068, allocations: 1.649 MB / 380.2 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008752/0.003943, allocations: 0.5258 MB / 380.7 MB, free: 196 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.429e-05/0.004007, allocations: 0 / 380.7 MB, free: 196 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.004267, allocations: 79.7 kB / 380.8 MB, free: 116 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002798/0.004547, allocations: 107.5 kB / 380.9 MB, free: 8 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.004809, allocations: 87.84 kB / 381 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.004968, allocations: 87.75 kB / 381.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.057e-05/0.005059, allocations: 15.92 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.511e-05/0.005124, allocations: 51.83 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.208e-05/0.005216, allocations: 47.94 kB / 381.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.005228, allocations: 4 kB / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.766e-05/0.005306, allocations: 47.91 kB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.048e-05/0.005356, allocations: 23.88 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.005386, allocations: 15.92 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.005575, allocations: 87.66 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.005578, allocations: 4 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005579, allocations: 0 / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.005583, allocations: 0 / 381.3 MB, free: 15.54 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.0004627/0.006046, allocations: 447.8 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.006085, allocations: 8.031 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.00612, allocations: 16.84 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.006252, allocations: 149.1 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.006262, allocations: 8.312 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.006282, allocations: 384 / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.761e-05/0.006379, allocations: 54.95 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.006388, allocations: 192 / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.006398, allocations: 8.125 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.006404, allocations: 0 / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.462e-05/0.006428, allocations: 15.97 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002661/0.006694, allocations: 276.3 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.537e-05/0.00675, allocations: 39.05 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.721e-05/0.006767, allocations: 11.69 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.006795, allocations: 0 / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.006818, allocations: 41.33 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.006819, allocations: 0 / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000442/0.007261, allocations: 153.5 kB / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.00729, allocations: 59.41 kB / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.00742, allocations: 238.3 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.007434, allocations: 29.7 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.823e-05/0.007502, allocations: 158.7 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.007527, allocations: 23.81 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.007562, allocations: 35.34 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.007707, allocations: 0.4923 MB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.336e-05/0.00772, allocations: 4 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.519e-05/0.007736, allocations: 11.98 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.252e-05/0.007778, allocations: 27.67 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.00778, allocations: 15.88 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.434e-05/0.007865, allocations: 73.58 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.007878, allocations: 4 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.007883, allocations: 0 / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.007898, allocations: 0 / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.504e-05/0.007963, allocations: 15.98 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.007968, allocations: 4 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.758e-05/0.007985, allocations: 0 / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.007992, allocations: 4 kB / 383.7 MB, free: 12.95 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.131e-05/0.008073, allocations: 164.5 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.008096, allocations: 19.91 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.008221, allocations: 91.31 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.008223, allocations: 0 / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.008226, allocations: 0 / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.008229, allocations: 0 / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.008532, allocations: 349.6 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.008534, allocations: 4 kB / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.644e-05/0.00857, allocations: 15.98 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.008573, allocations: 0 / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-06/0.008577, allocations: 0 / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.008578, allocations: 8.031 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.00858, allocations: 0 / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.00871, allocations: 231.4 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.189e-05/0.008722, allocations: 15.91 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.008732, allocations: 0 / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.376e-05/0.008766, allocations: 8.406 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.008789, allocations: 4 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.008795, allocations: 7.984 kB / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.521e-05/0.008861, allocations: 163.1 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008861, allocations: 0 / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001584/0.009019, allocations: 16 kB / 384.8 MB, free: 11.8 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.0008887/0.009908, allocations: 447.5 kB / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.854e-05/0.009996, allocations: 43.59 kB / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.009997, allocations: 0 / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.356e-05/0.01002, allocations: 27.61 kB / 385.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.01022, allocations: 29.23 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.01056, allocations: 226.2 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.828e-05/0.01061, allocations: 79.39 kB / 385.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.684e-05/0.01065, allocations: 12.72 kB / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.901e-05/0.01072, allocations: 82.19 kB / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of SimCode: time 6.42e-07/0.01072, allocations: 0 / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of Templates: time 0.00333/0.01405, allocations: 1.513 MB / 387.2 MB, free: 9.469 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.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.0214423909783363]