Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.000904/0.000904, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009051/0.0009051, allocations: 169.9 kB / 25.61 MB, free: 8.902 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 0.902/0.902, allocations: 177.2 MB / 206.1 MB, free: 4.52 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.1403/0.1403, allocations: 34.25 MB / 296.8 MB, free: 13.94 MB / 282.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.537e-05, allocations: 5.406 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002578/0.002604, allocations: 1.628 MB / 380.9 MB, free: 21.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007858/0.00339, allocations: 0.5181 MB / 381.5 MB, free: 21.24 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.666e-05/0.003446, allocations: 0 / 381.5 MB, free: 21.24 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.003654, allocations: 23.83 kB / 381.5 MB, free: 21.22 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.003905, allocations: 83.56 kB / 381.6 MB, free: 21.14 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.004132, allocations: 95.58 kB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.004267, allocations: 71.75 kB / 381.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.79e-05/0.004355, allocations: 11.86 kB / 381.7 MB, free: 20.96 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.002e-05/0.004415, allocations: 31.91 kB / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.182e-05/0.004467, allocations: 11.94 kB / 381.8 MB, free: 20.92 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.00448, allocations: 4 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.493e-05/0.004555, allocations: 39.91 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.028e-05/0.004596, allocations: 15.92 kB / 381.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.004618, allocations: 7.938 kB / 381.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.004751, allocations: 75.73 kB / 381.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.004753, allocations: 0 / 381.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.004753, allocations: 0 / 381.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.004757, allocations: 0 / 381.9 MB, free: 20.78 MB / 314.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.0002967/0.005053, allocations: 420.1 kB / 382.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.005085, allocations: 8.031 kB / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.00512, allocations: 8.891 kB / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.005233, allocations: 144.4 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.005241, allocations: 384 / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.005256, allocations: 4.375 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.008e-05/0.005336, allocations: 58.94 kB / 382.5 MB, free: 20.08 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.005345, allocations: 4.188 kB / 382.5 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.005351, allocations: 4.125 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.005356, allocations: 0 / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.249e-05/0.005379, allocations: 4 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002009/0.00558, allocations: 248.5 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.005704, allocations: 42.98 kB / 382.8 MB, free: 19.74 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.605e-05/0.00572, allocations: 11.78 kB / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.005736, allocations: 3.984 kB / 382.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.005751, allocations: 41.33 kB / 382.9 MB, free: 19.67 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.794e-06/0.005752, allocations: 4 kB / 382.9 MB, free: 19.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002675/0.00602, allocations: 89.5 kB / 383 MB, free: 19.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.942e-05/0.006039, allocations: 59.34 kB / 383 MB, free: 19.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.716e-05/0.006126, allocations: 200.9 kB / 383.2 MB, free: 19.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.472e-06/0.006133, allocations: 29.7 kB / 383.3 MB, free: 19.26 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.006167, allocations: 146.8 kB / 383.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.006185, allocations: 11.89 kB / 383.4 MB, free: 19.1 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.006214, allocations: 23.36 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.636e-05/0.006261, allocations: 0.4962 MB / 383.9 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.323e-05/0.006274, allocations: 4 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.297e-05/0.006287, allocations: 7.938 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.298e-05/0.00632, allocations: 27.67 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.006321, allocations: 3.938 kB / 384 MB, free: 18.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.565e-05/0.006397, allocations: 57.61 kB / 384 MB, free: 18.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.006408, allocations: 4 kB / 384 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.006412, allocations: 3.984 kB / 384.1 MB, free: 18.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.088e-06/0.006422, allocations: 4 kB / 384.1 MB, free: 18.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.719e-05/0.006469, allocations: 8 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.006472, allocations: 3.938 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.433e-05/0.006496, allocations: 0 / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.006502, allocations: 4.281 kB / 384.1 MB, free: 18.42 MB / 314.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 4.233e-05/0.006544, allocations: 164.5 kB / 384.2 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.006573, allocations: 11.95 kB / 384.2 MB, free: 18.24 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.731e-05/0.00667, allocations: 70.12 kB / 384.3 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.006672, allocations: 0 / 384.3 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.006674, allocations: 4.297 kB / 384.3 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.006677, allocations: 0 / 384.3 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.006891, allocations: 306 kB / 384.6 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.006892, allocations: 0 / 384.6 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.694e-05/0.006929, allocations: 8 kB / 384.6 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.00693, allocations: 0 / 384.6 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.006936, allocations: 8 kB / 384.6 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.006937, allocations: 0 / 384.6 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.006938, allocations: 0 / 384.6 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.174e-05/0.00702, allocations: 211.8 kB / 384.8 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.007029, allocations: 7.953 kB / 384.8 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.007041, allocations: 0 / 384.8 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.558e-05/0.007097, allocations: 7.938 kB / 384.9 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.00712, allocations: 7.984 kB / 384.9 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.007124, allocations: 0 / 384.9 MB, free: 17.56 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.302e-05/0.007167, allocations: 143.2 kB / 385 MB, free: 17.42 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007167, allocations: 4 kB / 385 MB, free: 17.42 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002691/0.007436, allocations: 19.94 kB / 385 MB, free: 17.4 MB / 314.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.00102/0.008456, allocations: 382.1 kB / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.779e-05/0.008534, allocations: 35.66 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.008535, allocations: 0 / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.277e-05/0.008558, allocations: 23.61 kB / 385.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.008848, allocations: 20.55 kB / 385.5 MB, free: 17.08 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/0.009115, allocations: 172.5 kB / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.958e-05/0.009145, allocations: 66.2 kB / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.578e-05/0.009181, allocations: 12.23 kB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.328e-05/0.009234, allocations: 82.19 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009235, allocations: 0 / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of Templates: time 0.003179/0.01241, allocations: 1.278 MB / 387.1 MB, free: 15.43 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.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: 2.976965604815632]