Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.001429/0.001429, allocations: 75.75 kB / 21.69 MB, free: 2.855 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.001334/0.001334, allocations: 167.2 kB / 24.99 MB, free: 9.23 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.029/1.029, allocations: 177.1 MB / 205.3 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.2547/0.2547, allocations: 34.25 MB / 296 MB, free: 0.7656 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.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 3.938 kB / 378.1 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.87e-05, allocations: 6.25 kB / 378.1 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.002616/0.002644, allocations: 1.711 MB / 379.8 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007592/0.003403, allocations: 0.5414 MB / 380.3 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.351e-05/0.003467, allocations: 4 kB / 380.3 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002523/0.003719, allocations: 55.67 kB / 380.4 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.003983, allocations: 87.55 kB / 380.5 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.004233, allocations: 139.5 kB / 380.6 MB, free: 396 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.004383, allocations: 83.81 kB / 380.7 MB, free: 312 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.974e-05/0.004483, allocations: 12.22 kB / 380.7 MB, free: 296 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.412e-05/0.004567, allocations: 51.83 kB / 380.7 MB, free: 244 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.723e-05/0.004654, allocations: 39.89 kB / 380.8 MB, free: 204 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.00467, allocations: 7.984 kB / 380.8 MB, free: 196 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.742e-05/0.004757, allocations: 51.86 kB / 380.8 MB, free: 144 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.526e-05/0.004822, allocations: 19.92 kB / 380.9 MB, free: 124 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.004849, allocations: 15.92 kB / 380.9 MB, free: 108 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.005015, allocations: 87.72 kB / 381 MB, free: 20 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.005019, allocations: 4 kB / 381 MB, free: 16 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.00502, allocations: 4 kB / 381 MB, free: 12 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.005024, allocations: 0 / 381 MB, free: 12 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004301/0.005454, allocations: 436 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.005508, allocations: 11.97 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/0.00556, allocations: 16.84 kB / 381.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.005701, allocations: 137 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.005711, allocations: 4.375 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.005732, allocations: 4.375 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.00586, allocations: 78.59 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.00587, allocations: 4 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.00588, allocations: 4 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.00589, allocations: 7.938 kB / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.989e-05/0.005929, allocations: 11.98 kB / 381.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003099/0.006239, allocations: 291.7 kB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.006417, allocations: 55.06 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.908e-05/0.006446, allocations: 23.81 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.006469, allocations: 0 / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.006491, allocations: 37.39 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 2.325e-06/0.006493, allocations: 4 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006287/0.007122, allocations: 241.2 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.007155, allocations: 51.41 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.007282, allocations: 216.9 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.007295, allocations: 29.7 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/0.007355, allocations: 154.8 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.007384, allocations: 31.7 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.007428, allocations: 35.36 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.007553, allocations: 0.4962 MB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.736e-05/0.007591, allocations: 12 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.838e-05/0.007619, allocations: 19.92 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.411e-05/0.007693, allocations: 47.67 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.007694, allocations: 0 / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001352/0.007829, allocations: 93.53 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.007844, allocations: 4 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.00785, allocations: 3.938 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.007869, allocations: 4 kB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.142e-05/0.00794, allocations: 23.98 kB / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.007946, allocations: 0 / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.813e-05/0.007975, allocations: 11.92 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.007983, allocations: 8 kB / 383.5 MB, free: 13.24 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 (11): * Single equations (assignments): 11 * 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.903e-05/0.008062, allocations: 156.6 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.008086, allocations: 11.95 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.008251, allocations: 111.3 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.008254, allocations: 0 / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.008259, allocations: 4 kB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.008263, allocations: 7.938 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.008621, allocations: 416.6 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.008624, allocations: 0 / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.306e-05/0.008677, allocations: 19.98 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.00868, allocations: 7.938 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.008688, allocations: 3.938 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.008692, allocations: 4 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.008693, allocations: 0 / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.008843, allocations: 259.2 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.097e-05/0.008854, allocations: 15.97 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.008869, allocations: 3.938 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.346e-05/0.008912, allocations: 11.98 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.00895, allocations: 7.984 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-06/0.008956, allocations: 4 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.881e-05/0.009025, allocations: 165.5 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009025, allocations: 0 / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001746/0.009199, allocations: 23.94 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009976/0.0102, allocations: 446.6 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001357/0.01033, allocations: 55.59 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01033, allocations: 0 / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.424e-05/0.01038, allocations: 43.61 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.01061, allocations: 18.98 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000408/0.01102, allocations: 253.7 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.324e-05/0.01106, allocations: 67.34 kB / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.215e-05/0.0111, allocations: 24.59 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.01114, allocations: 16.5 kB / 385.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01114, allocations: 0 / 385.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of Templates: time 0.003725/0.01486, allocations: 1.589 MB / 387.2 MB, free: 9.555 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.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.261446475982666]