Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001298/0.001298, allocations: 88.5 kB / 20.69 MB, free: 1.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001489/0.001489, allocations: 165.6 kB / 23.96 MB, free: 4.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 177 MB / 204.1 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2604/0.2604, allocations: 34.25 MB / 294.8 MB, free: 14.56 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 442.7 MB, free: 5.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.05e-05/3.209e-05, allocations: 6.281 kB / 442.7 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.004588/0.00462, allocations: 1.618 MB / 444.3 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.006254, allocations: 0.5448 MB / 444.8 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.64e-05/0.00633, allocations: 0 / 444.8 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008915/0.007222, allocations: 455 kB / 445.3 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007604/0.007982, allocations: 299.2 kB / 445.6 MB, free: 2.406 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007619/0.008744, allocations: 175.2 kB / 445.7 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003391/0.009083, allocations: 171.7 kB / 445.9 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.0092, allocations: 19.72 kB / 445.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.009425, allocations: 127.7 kB / 446 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003928/0.009818, allocations: 239.7 kB / 446.3 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.009849, allocations: 0 / 446.3 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.009953, allocations: 23.98 kB / 446.3 MB, free: 1.668 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.0101, allocations: 87.64 kB / 446.4 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.016e-05/0.01018, allocations: 39.73 kB / 446.4 MB, free: 1.543 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004536/0.01064, allocations: 231.1 kB / 446.7 MB, free: 1.316 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.01064, allocations: 3.938 kB / 446.7 MB, free: 1.312 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01064, allocations: 4 kB / 446.7 MB, free: 1.309 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.01065, allocations: 0 / 446.7 MB, free: 1.309 MB / 366.1 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.001143/0.01179, allocations: 0.5738 MB / 447.2 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.01184, allocations: 11.97 kB / 447.2 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.01195, allocations: 44.66 kB / 447.3 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004265/0.01237, allocations: 242 kB / 447.5 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.01238, allocations: 4.375 kB / 447.5 MB, free: 384 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.0124, allocations: 4.312 kB / 447.5 MB, free: 380 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.01265, allocations: 58.23 kB / 447.6 MB, free: 316 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.01266, allocations: 4.188 kB / 447.6 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.01268, allocations: 384 / 447.6 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.01268, allocations: 384 / 447.6 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.0129, allocations: 39.84 kB / 447.6 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2185/0.2314, allocations: 334.1 kB / 448 MB, free: 19.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.2316, allocations: 45.03 kB / 448 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.558e-05/0.2316, allocations: 21.38 kB / 448 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.2317, allocations: 3.203 kB / 448 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.449e-05/0.2317, allocations: 36.55 kB / 448.1 MB, free: 19.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.754e-06/0.2317, allocations: 1.156 kB / 448.1 MB, free: 19.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.000385/0.2321, allocations: 133.2 kB / 448.2 MB, free: 19.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.2321, allocations: 53.16 kB / 448.2 MB, free: 19.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007781/0.2329, allocations: 0.8632 MB / 449.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.2329, allocations: 33.83 kB / 449.1 MB, free: 18.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.233, allocations: 208.5 kB / 449.3 MB, free: 18.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.233, allocations: 16.34 kB / 449.4 MB, free: 18.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.2331, allocations: 14.19 kB / 449.4 MB, free: 18.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.869e-05/0.2331, allocations: 365.5 kB / 449.7 MB, free: 18.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.288e-05/0.2332, allocations: 18.22 kB / 449.8 MB, free: 18.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.6e-05/0.2333, allocations: 15.7 kB / 449.8 MB, free: 18.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.2334, allocations: 45.19 kB / 449.8 MB, free: 18.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2334, allocations: 0 / 449.8 MB, free: 18.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002016/0.2336, allocations: 120.4 kB / 449.9 MB, free: 18.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.2336, allocations: 10.78 kB / 449.9 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.2336, allocations: 0.6562 kB / 449.9 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.2337, allocations: 0 / 449.9 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.663e-05/0.2337, allocations: 9.938 kB / 450 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.2338, allocations: 0.6094 kB / 450 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.226e-05/0.2338, allocations: 13.17 kB / 450 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.2338, allocations: 4.906 kB / 450 MB, free: 18.32 MB / 366.1 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 (3): * Single equations (assignments): 3 * 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.0001694/0.234, allocations: 214.4 kB / 450.2 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.561e-05/0.2341, allocations: 43.2 kB / 450.2 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.2343, allocations: 128.9 kB / 450.3 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2343, allocations: 0 / 450.3 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.2343, allocations: 2.203 kB / 450.3 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2343, allocations: 0 / 450.3 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.2346, allocations: 241.3 kB / 450.6 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2346, allocations: 0.9844 kB / 450.6 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.57e-05/0.2346, allocations: 9.016 kB / 450.6 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2346, allocations: 1.438 kB / 450.6 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.2346, allocations: 2.484 kB / 450.6 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.2346, allocations: 1.344 kB / 450.6 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2346, allocations: 0.9844 kB / 450.6 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.2349, allocations: 209.7 kB / 450.8 MB, free: 17.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/0.2349, allocations: 35.81 kB / 450.8 MB, free: 17.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.2349, allocations: 2.469 kB / 450.8 MB, free: 17.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.497e-05/0.235, allocations: 5.344 kB / 450.8 MB, free: 17.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.235, allocations: 4.906 kB / 450.9 MB, free: 17.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.235, allocations: 4.516 kB / 450.9 MB, free: 17.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005676/0.2356, allocations: 0.6542 MB / 451.5 MB, free: 17.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2356, allocations: 0 / 451.5 MB, free: 17.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000255/0.2358, allocations: 24.2 kB / 451.5 MB, free: 17.51 MB / 366.1 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 (3): * Single equations (assignments): 3 * 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.001308/0.2372, allocations: 375.8 kB / 451.9 MB, free: 17.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.2374, allocations: 45.69 kB / 451.9 MB, free: 17.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2374, allocations: 3.938 kB / 451.9 MB, free: 17.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.845e-05/0.2374, allocations: 22.69 kB / 452 MB, free: 17.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.2378, allocations: 24 kB / 452 MB, free: 17.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009838/0.2388, allocations: 0.8061 MB / 452.8 MB, free: 16.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.239, allocations: 222.3 kB / 453 MB, free: 16.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.551e-05/0.2391, allocations: 16.33 kB / 453 MB, free: 16.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.166e-05/0.2391, allocations: 13.69 kB / 453 MB, free: 16.88 MB / 366.1 MB Notification: Performance of SimCode: time 8.11e-07/0.2391, allocations: 0 / 453 MB, free: 16.88 MB / 366.1 MB Notification: Performance of Templates: time 0.005073/0.2442, allocations: 1.157 MB / 454.2 MB, free: 16.68 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.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: 5.016664959490299]