Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.0009281/0.0009281, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.00138/0.00138, allocations: 168.9 kB / 24.91 MB, free: 8.754 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 0.9483/0.9483, allocations: 177 MB / 205.2 MB, free: 5.449 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.2421/0.2421, allocations: 34.86 MB / 296.6 MB, free: 0.5273 MB / 266.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.CombiTable1Dv.Test2,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.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.298e-05, allocations: 6.312 kB / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002894/0.002917, allocations: 1.638 MB / 327.6 MB, free: 5.504 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009483/0.003865, allocations: 0.5446 MB / 328.1 MB, free: 4.957 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.564e-05/0.003921, allocations: 3.938 kB / 328.1 MB, free: 4.953 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.004122, allocations: 15.86 kB / 328.1 MB, free: 4.938 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.004423, allocations: 83.55 kB / 328.2 MB, free: 4.855 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.004726, allocations: 111.6 kB / 328.3 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.004875, allocations: 76.45 kB / 328.4 MB, free: 4.672 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.185e-05/0.004956, allocations: 11.98 kB / 328.4 MB, free: 4.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.311e-05/0.00502, allocations: 27.92 kB / 328.4 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.597e-05/0.005076, allocations: 15.92 kB / 328.5 MB, free: 4.617 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.005088, allocations: 0 / 328.5 MB, free: 4.617 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.585e-05/0.005164, allocations: 39.97 kB / 328.5 MB, free: 4.578 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.179e-05/0.005206, allocations: 15.92 kB / 328.5 MB, free: 4.562 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.005228, allocations: 4 kB / 328.5 MB, free: 4.559 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.005374, allocations: 71.73 kB / 328.6 MB, free: 4.488 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.005377, allocations: 7.938 kB / 328.6 MB, free: 4.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.005377, allocations: 0 / 328.6 MB, free: 4.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.005381, allocations: 0 / 328.6 MB, free: 4.48 MB / 298.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.0003247/0.005706, allocations: 285.8 kB / 328.9 MB, free: 4.176 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.005743, allocations: 12.03 kB / 328.9 MB, free: 4.164 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.005773, allocations: 4.938 kB / 328.9 MB, free: 4.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.005909, allocations: 137.7 kB / 329 MB, free: 4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.005917, allocations: 384 / 329 MB, free: 4 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.005936, allocations: 384 / 329 MB, free: 4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.006047, allocations: 54.95 kB / 329.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.006057, allocations: 192 / 329.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.006064, allocations: 4.375 kB / 329.1 MB, free: 3.934 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.006072, allocations: 12.28 kB / 329.1 MB, free: 3.922 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.704e-05/0.006099, allocations: 11.94 kB / 329.1 MB, free: 3.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.006367, allocations: 155.1 kB / 329.3 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.006543, allocations: 33.39 kB / 329.3 MB, free: 3.699 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.02e-05/0.006563, allocations: 12.92 kB / 329.3 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.006584, allocations: 4.078 kB / 329.3 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.00661, allocations: 34.5 kB / 329.3 MB, free: 3.637 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.763e-06/0.006611, allocations: 0 / 329.3 MB, free: 3.637 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003445/0.006956, allocations: 97.42 kB / 329.4 MB, free: 3.535 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.006997, allocations: 51.41 kB / 329.5 MB, free: 3.473 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.007116, allocations: 144.3 kB / 329.6 MB, free: 3.316 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.007128, allocations: 25.7 kB / 329.6 MB, free: 3.285 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/0.007172, allocations: 92.11 kB / 329.7 MB, free: 3.191 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.0072, allocations: 19.8 kB / 329.8 MB, free: 3.172 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.007244, allocations: 21.7 kB / 329.8 MB, free: 3.145 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.007361, allocations: 322.8 kB / 330.1 MB, free: 2.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.478e-05/0.007376, allocations: 0 / 330.1 MB, free: 2.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.008e-05/0.007396, allocations: 4 kB / 330.1 MB, free: 2.816 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.647e-05/0.007442, allocations: 23.67 kB / 330.1 MB, free: 2.789 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.007444, allocations: 7.938 kB / 330.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.401e-05/0.007538, allocations: 53.81 kB / 330.2 MB, free: 2.723 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.007554, allocations: 8 kB / 330.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.00756, allocations: 3.938 kB / 330.2 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.007575, allocations: 0 / 330.2 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.521e-05/0.00763, allocations: 11.98 kB / 330.2 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.007634, allocations: 0 / 330.2 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.61e-05/0.00766, allocations: 4 kB / 330.2 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.007666, allocations: 0 / 330.2 MB, free: 2.695 MB / 298.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 7.713e-05/0.007743, allocations: 108.7 kB / 330.3 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.00777, allocations: 11.98 kB / 330.3 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.007913, allocations: 70.02 kB / 330.4 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.007915, allocations: 0 / 330.4 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.007918, allocations: 0 / 330.4 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.007921, allocations: 0 / 330.4 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.008203, allocations: 206.8 kB / 330.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.008205, allocations: 0 / 330.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.608e-05/0.008241, allocations: 8 kB / 330.6 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.008246, allocations: 7.938 kB / 330.6 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.008253, allocations: 7.938 kB / 330.6 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.008255, allocations: 4 kB / 330.6 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.008256, allocations: 0 / 330.6 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.00837, allocations: 139.5 kB / 330.8 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.008384, allocations: 7.953 kB / 330.8 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.008399, allocations: 4.188 kB / 330.8 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.13e-05/0.00845, allocations: 8 kB / 330.8 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.00849, allocations: 7.984 kB / 330.8 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.008496, allocations: 0 / 330.8 MB, free: 2.059 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.78e-05/0.008543, allocations: 31.66 kB / 330.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008543, allocations: 0 / 330.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002191/0.008763, allocations: 19.98 kB / 330.8 MB, free: 2.004 MB / 298.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.001465/0.01023, allocations: 498.6 kB / 331.3 MB, free: 1.762 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001191/0.01035, allocations: 28.78 kB / 331.4 MB, free: 1.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.01035, allocations: 0 / 331.4 MB, free: 1.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.811e-05/0.01038, allocations: 20.83 kB / 331.4 MB, free: 1.707 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.01061, allocations: 12 kB / 331.4 MB, free: 1.695 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.01103, allocations: 179.3 kB / 331.6 MB, free: 1.488 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.458e-05/0.01108, allocations: 71.34 kB / 331.6 MB, free: 1.398 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.207e-05/0.01113, allocations: 7.984 kB / 331.6 MB, free: 1.391 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.129e-05/0.01119, allocations: 63.36 kB / 331.7 MB, free: 1.328 MB / 298.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01119, allocations: 0 / 331.7 MB, free: 1.328 MB / 298.7 MB Notification: Performance of Templates: time 0.004195/0.01538, allocations: 1.249 MB / 332.9 MB, free: 88 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.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.766674214042723]