Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.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.001209/0.001209, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 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.001131/0.001131, allocations: 163.4 kB / 25.61 MB, free: 8.582 MB / 18.57 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.119/1.119, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] 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.1532/0.1532, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.7 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.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.727e-05, allocations: 3.297 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.005384/0.005412, allocations: 1.628 MB / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007888/0.0062, allocations: 0.5212 MB / 382.2 MB, free: 20.58 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.606e-05/0.006256, allocations: 4 kB / 382.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.006472, allocations: 27.84 kB / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002327/0.006705, allocations: 79.56 kB / 382.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.006912, allocations: 99.56 kB / 382.4 MB, free: 20.37 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.007041, allocations: 67.77 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.278e-05/0.007134, allocations: 11.98 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.626e-05/0.00719, allocations: 27.92 kB / 382.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.446e-05/0.007245, allocations: 11.98 kB / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.007258, allocations: 0 / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.827e-05/0.007326, allocations: 39.91 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.178e-05/0.007368, allocations: 16 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.007392, allocations: 11.92 kB / 382.6 MB, free: 20.19 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.007537, allocations: 75.67 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.00754, allocations: 0 / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.007541, allocations: 0 / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.007547, allocations: 0 / 382.6 MB, free: 20.11 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.000334/0.007881, allocations: 416 kB / 383 MB, free: 19.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.007915, allocations: 8.031 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.007952, allocations: 16.88 kB / 383.1 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003152/0.0111, allocations: 137.8 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.01111, allocations: 12.31 kB / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.01113, allocations: 8.359 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.659e-05/0.01123, allocations: 46.95 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.01124, allocations: 4.188 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.01125, allocations: 4.375 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.01125, allocations: 384 / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.305e-05/0.01128, allocations: 11.92 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002145/0.01149, allocations: 244.5 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.01163, allocations: 42.98 kB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.45e-05/0.01164, allocations: 7.688 kB / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.01166, allocations: 8 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.01168, allocations: 37.39 kB / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.01168, allocations: 0 / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002862/0.01196, allocations: 93.52 kB / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.01199, allocations: 55.41 kB / 383.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.262e-05/0.01207, allocations: 196.5 kB / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.941e-06/0.01207, allocations: 29.7 kB / 384 MB, free: 18.6 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.302e-05/0.01211, allocations: 150.8 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.01213, allocations: 11.91 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.01216, allocations: 27.34 kB / 384.2 MB, free: 18.4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.075e-05/0.0122, allocations: 0.4962 MB / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.266e-05/0.01221, allocations: 7.984 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.224e-05/0.01222, allocations: 7.938 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.298e-05/0.01226, allocations: 27.81 kB / 384.7 MB, free: 17.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.01226, allocations: 0 / 384.7 MB, free: 17.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.389e-05/0.01233, allocations: 65.53 kB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.01234, allocations: 5.562 kB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.01235, allocations: 0 / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.205e-06/0.01236, allocations: 0 / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.274e-05/0.01241, allocations: 15.98 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.01241, allocations: 0 / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.11e-05/0.01243, allocations: 4 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.01244, allocations: 7.984 kB / 384.8 MB, free: 17.74 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.234e-05/0.01248, allocations: 156.5 kB / 385 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.01251, allocations: 11.89 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.01261, allocations: 66.14 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.01261, allocations: 4 kB / 385 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.01261, allocations: 0 / 385 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.01261, allocations: 0 / 385 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.01281, allocations: 302 kB / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01281, allocations: 0 / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.16e-05/0.01285, allocations: 15.98 kB / 385.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.01285, allocations: 0 / 385.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.658e-06/0.01286, allocations: 0 / 385.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01286, allocations: 4.188 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01286, allocations: 0 / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.599e-05/0.01294, allocations: 211.8 kB / 385.6 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-06/0.01295, allocations: 3.953 kB / 385.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.01296, allocations: 4 kB / 385.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.926e-05/0.01301, allocations: 3.984 kB / 385.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.01303, allocations: 8.281 kB / 385.6 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.01303, allocations: 4 kB / 385.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.631e-05/0.01307, allocations: 147.1 kB / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01307, allocations: 0 / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002315/0.0133, allocations: 19.94 kB / 385.7 MB, free: 16.73 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.00397/0.01727, allocations: 375.9 kB / 386.1 MB, free: 16.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.751e-05/0.01737, allocations: 35.66 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.01737, allocations: 0 / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.199e-05/0.01739, allocations: 19.62 kB / 386.2 MB, free: 16.44 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.01768, allocations: 26.67 kB / 386.2 MB, free: 16.42 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003216/0.018, allocations: 168.5 kB / 386.4 MB, free: 16.22 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.88e-05/0.01803, allocations: 67.2 kB / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.414e-05/0.01807, allocations: 11.98 kB / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.947e-05/0.01812, allocations: 86.19 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01812, allocations: 0 / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of Templates: time 0.006269/0.02439, allocations: 1.288 MB / 387.8 MB, free: 14.78 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 3.544828495942056]