Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.0009686/0.0009686, 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.001584/0.001584, 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.9705/0.9705, allocations: 177.1 MB / 205 MB, free: 5.59 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.2847/0.2847, allocations: 34.25 MB / 295.7 MB, free: 0.7578 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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 378 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.837e-05, allocations: 5.688 kB / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002005/0.002023, allocations: 1.638 MB / 379.7 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007238/0.002747, allocations: 0.5376 MB / 380.2 MB, free: 448 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.195e-05/0.002799, allocations: 0 / 380.2 MB, free: 448 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002047/0.003003, allocations: 27.78 kB / 380.3 MB, free: 420 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.003259, allocations: 87.55 kB / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.003476, allocations: 91.64 kB / 380.4 MB, free: 240 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.003601, allocations: 59.83 kB / 380.5 MB, free: 180 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.357e-05/0.003684, allocations: 8 kB / 380.5 MB, free: 172 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.164e-05/0.003736, allocations: 31.91 kB / 380.5 MB, free: 140 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.102e-05/0.003787, allocations: 27.86 kB / 380.6 MB, free: 112 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.003801, allocations: 4 kB / 380.6 MB, free: 108 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.25e-05/0.003863, allocations: 31.92 kB / 380.6 MB, free: 76 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.486e-05/0.003908, allocations: 15.92 kB / 380.6 MB, free: 60 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.619e-05/0.003934, allocations: 15.92 kB / 380.6 MB, free: 44 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.00408, allocations: 67.75 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004082, allocations: 0 / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.004083, allocations: 0 / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.004087, allocations: 0 / 380.7 MB, free: 15.98 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.0003846/0.004472, allocations: 424 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.004513, allocations: 12.03 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/0.004561, allocations: 12.83 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.004693, allocations: 141 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.004702, allocations: 384 / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.004727, allocations: 8.375 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.004842, allocations: 54.7 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.00485, allocations: 0 / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.004859, allocations: 0 / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.004866, allocations: 0 / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.257e-05/0.004899, allocations: 15.98 kB / 381.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.005177, allocations: 275.7 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.005326, allocations: 50.98 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.005345, allocations: 11.78 kB / 381.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.005364, allocations: 3.984 kB / 381.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.005382, allocations: 37.39 kB / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.005382, allocations: 0 / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003064/0.005689, allocations: 97.47 kB / 381.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.005714, allocations: 51.41 kB / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.005824, allocations: 216.8 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.005832, allocations: 29.64 kB / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.005886, allocations: 154.8 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.005907, allocations: 19.84 kB / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.005934, allocations: 23.38 kB / 382.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.006036, allocations: 0.4961 MB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.006051, allocations: 4 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.421e-05/0.006065, allocations: 12.05 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.64e-05/0.006102, allocations: 27.69 kB / 382.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.006103, allocations: 0 / 382.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.123e-05/0.006174, allocations: 57.64 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.006186, allocations: 6.031 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.00619, allocations: 3.938 kB / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.006202, allocations: 4 kB / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.031e-05/0.006243, allocations: 15.92 kB / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.006247, allocations: 0 / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.624e-05/0.006263, allocations: 4 kB / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.006267, allocations: 0 / 382.9 MB, free: 13.54 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 5.882e-05/0.006326, allocations: 164.5 kB / 383.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.006346, allocations: 11.91 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.006453, allocations: 70.41 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.006455, allocations: 0 / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.006458, allocations: 0 / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.006462, allocations: 7.984 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.006679, allocations: 333.3 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.00668, allocations: 0 / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.619e-05/0.006707, allocations: 8.312 kB / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.00671, allocations: 4 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.006716, allocations: 3.984 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.006718, allocations: 4 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.006719, allocations: 0 / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.006819, allocations: 211.8 kB / 383.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.006826, allocations: 7.953 kB / 383.7 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.006838, allocations: 4 kB / 383.7 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.99e-05/0.006868, allocations: 4 kB / 383.7 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.006902, allocations: 7.984 kB / 383.7 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.006906, allocations: 4 kB / 383.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.833e-05/0.006974, allocations: 153.6 kB / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006974, allocations: 4 kB / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001613/0.007135, allocations: 15.94 kB / 383.9 MB, free: 12.46 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.0008162/0.007952, allocations: 377 kB / 384.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.672e-05/0.008038, allocations: 31.61 kB / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.00804, allocations: 3.938 kB / 384.3 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.079e-05/0.00806, allocations: 19.69 kB / 384.3 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.00826, allocations: 26.92 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.008561, allocations: 186.3 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.614e-05/0.008597, allocations: 67.33 kB / 384.6 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.38e-05/0.008621, allocations: 4 kB / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/0.008646, allocations: 12.5 kB / 384.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.008647, allocations: 0 / 384.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of Templates: time 0.002693/0.01134, allocations: 1.166 MB / 385.8 MB, free: 10.68 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.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.323478081729263]