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.001903/0.001903, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002183/0.002183, allocations: 165.6 kB / 24.28 MB, free: 156 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.553/1.553, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3507/0.3507, allocations: 34.27 MB / 295.3 MB, free: 0.6602 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.1.|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.1.|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 1.593e-06/1.593e-06, allocations: 0 / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.132e-05/3.291e-05, allocations: 2.312 kB / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.004638/0.004671, allocations: 1.622 MB / 378.9 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.006359, allocations: 0.5298 MB / 379.5 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.946e-05/0.006419, allocations: 0 / 379.5 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003505/0.006769, allocations: 75.7 kB / 379.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004315/0.007201, allocations: 107.5 kB / 379.6 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.007577, allocations: 87.7 kB / 379.7 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.007803, allocations: 83.75 kB / 379.8 MB, free: 436 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.007923, allocations: 19.97 kB / 379.8 MB, free: 416 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.008051, allocations: 47.81 kB / 379.9 MB, free: 368 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.008211, allocations: 51.94 kB / 379.9 MB, free: 316 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.728e-05/0.008248, allocations: 4 kB / 379.9 MB, free: 312 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.008396, allocations: 43.92 kB / 380 MB, free: 268 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.556e-05/0.008472, allocations: 31.84 kB / 380 MB, free: 236 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.678e-05/0.008519, allocations: 11.94 kB / 380 MB, free: 224 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.008819, allocations: 111.6 kB / 380.1 MB, free: 112 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.008822, allocations: 0 / 380.1 MB, free: 112 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.008823, allocations: 0 / 380.1 MB, free: 112 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.008829, allocations: 0 / 380.1 MB, free: 112 kB / 346.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.0008402/0.009669, allocations: 446.4 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.009713, allocations: 8.031 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.906e-05/0.009792, allocations: 16.84 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.01008, allocations: 149.1 kB / 380.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.01009, allocations: 8.312 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.01013, allocations: 12.33 kB / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.0103, allocations: 46.25 kB / 380.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.01032, allocations: 192 / 380.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.01034, allocations: 5.312 kB / 380.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.01034, allocations: 3.984 kB / 380.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.01047, allocations: 15.98 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005928/0.01106, allocations: 303.7 kB / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.01123, allocations: 51.05 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.224e-05/0.0113, allocations: 19.77 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.01133, allocations: 4 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.567e-05/0.01138, allocations: 37.39 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.01138, allocations: 0 / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001144/0.01253, allocations: 213.2 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/0.0126, allocations: 63.38 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003633/0.01296, allocations: 250.4 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.01299, allocations: 29.7 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.01315, allocations: 162.8 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.439e-05/0.0132, allocations: 31.73 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.473e-05/0.01328, allocations: 27.38 kB / 382 MB, free: 14.06 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003796/0.01366, allocations: 0.504 MB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.01376, allocations: 19.98 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.046e-05/0.01385, allocations: 23.92 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.01407, allocations: 59.67 kB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.01407, allocations: 0 / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003115/0.01438, allocations: 97.5 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.01441, allocations: 12 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.01441, allocations: 0 / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.01443, allocations: 0 / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.01456, allocations: 16 kB / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.01457, allocations: 0 / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.376e-05/0.01463, allocations: 7.984 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.01464, allocations: 0 / 382.7 MB, free: 13.3 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 0.0001865/0.01483, allocations: 160.6 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.256e-05/0.0149, allocations: 19.84 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003866/0.01529, allocations: 115 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.01529, allocations: 432 / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.0153, allocations: 4 kB / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.0153, allocations: 0 / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008906/0.01619, allocations: 417.3 kB / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.0162, allocations: 4 kB / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.956e-05/0.0163, allocations: 12 kB / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.0163, allocations: 3.984 kB / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.01632, allocations: 3.984 kB / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/0.01632, allocations: 8.031 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01632, allocations: 80 / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004616/0.01678, allocations: 267.4 kB / 383.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.939e-05/0.01681, allocations: 11.91 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.01684, allocations: 0 / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.01696, allocations: 8 kB / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.01701, allocations: 7.984 kB / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.01702, allocations: 4 kB / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002256/0.01725, allocations: 176.2 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01725, allocations: 0 / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004625/0.01771, allocations: 23.98 kB / 383.9 MB, free: 12 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.00482/0.02253, allocations: 491.2 kB / 384.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003837/0.02291, allocations: 71.59 kB / 384.5 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.02292, allocations: 4 kB / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.02307, allocations: 43.61 kB / 384.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005378/0.0236, allocations: 23.83 kB / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007807/0.02438, allocations: 237.9 kB / 384.8 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/0.02456, allocations: 96.8 kB / 384.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.285e-05/0.02464, allocations: 17.09 kB / 384.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.295e-05/0.02469, allocations: 12.5 kB / 384.9 MB, free: 11.17 MB / 362.7 MB Notification: Performance of SimCode: time 1.312e-06/0.02469, allocations: 0 / 384.9 MB, free: 11.17 MB / 362.7 MB Notification: Performance of Templates: time 0.007238/0.03193, allocations: 1.375 MB / 386.3 MB, free: 9.805 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.902134764939547]