Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.000993/0.000993, allocations: 81.81 kB / 21.42 MB, free: 3.074 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.0008892/0.0008892, allocations: 165.3 kB / 24.82 MB, free: 9.207 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.9499/0.9499, allocations: 177 MB / 205.1 MB, free: 5.477 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.2315/0.2315, allocations: 34.86 MB / 296.6 MB, free: 0.5078 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.799e-05, allocations: 7.234 kB / 379.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003325/0.003353, allocations: 1.654 MB / 380.9 MB, free: 152 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007854/0.004138, allocations: 0.5368 MB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.111e-05/0.0042, allocations: 0 / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.004434, allocations: 75.7 kB / 381.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.004705, allocations: 107.5 kB / 381.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.00495, allocations: 111.6 kB / 381.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.005098, allocations: 91.73 kB / 381.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.427e-05/0.005183, allocations: 4 kB / 381.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.045e-05/0.005253, allocations: 55.81 kB / 381.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.533e-05/0.005338, allocations: 39.89 kB / 381.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.005351, allocations: 4 kB / 381.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.796e-05/0.005429, allocations: 47.91 kB / 382 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.05e-05/0.00547, allocations: 19.94 kB / 382 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.005491, allocations: 15.92 kB / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.005633, allocations: 91.67 kB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.005635, allocations: 0 / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.005636, allocations: 3.938 kB / 382.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.00564, allocations: 0 / 382.1 MB, free: 14.95 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003606/0.006001, allocations: 447.8 kB / 382.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.006034, allocations: 8.031 kB / 382.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.006068, allocations: 12.89 kB / 382.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.006189, allocations: 146.6 kB / 382.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.006197, allocations: 384 / 382.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.006212, allocations: 4.375 kB / 382.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.296e-05/0.006305, allocations: 58.94 kB / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.006314, allocations: 4.188 kB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-06/0.00632, allocations: 384 / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.006326, allocations: 4.375 kB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.295e-05/0.006348, allocations: 15.86 kB / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002393/0.006588, allocations: 264.5 kB / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.992e-05/0.006638, allocations: 35.05 kB / 383.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.006655, allocations: 15.69 kB / 383.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.006676, allocations: 7.938 kB / 383.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.006695, allocations: 33.39 kB / 383.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.006696, allocations: 4 kB / 383.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004248/0.00712, allocations: 157.8 kB / 383.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.007146, allocations: 51.41 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.007257, allocations: 234.4 kB / 383.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.007267, allocations: 29.7 kB / 383.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.007324, allocations: 154.8 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.007348, allocations: 27.73 kB / 383.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.007378, allocations: 23.38 kB / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.007497, allocations: 0.5001 MB / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.982e-05/0.007516, allocations: 15.98 kB / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.336e-05/0.00753, allocations: 4 kB / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.944e-05/0.007569, allocations: 35.61 kB / 384.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.00757, allocations: 0 / 384.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.176e-05/0.007652, allocations: 77.75 kB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.007662, allocations: 4 kB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.007666, allocations: 0 / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.007677, allocations: 0 / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.289e-05/0.00774, allocations: 19.98 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.007743, allocations: 4.062 kB / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.924e-05/0.007763, allocations: 8 kB / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.007768, allocations: 4 kB / 384.5 MB, free: 12.38 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 (8): * Single equations (assignments): 8 * 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 6.037e-05/0.007829, allocations: 156.5 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.007852, allocations: 19.89 kB / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.007981, allocations: 87.12 kB / 384.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.007983, allocations: 0 / 384.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.007985, allocations: 0 / 384.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.007988, allocations: 0 / 384.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.008262, allocations: 345.6 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.008265, allocations: 8.016 kB / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.768e-05/0.008302, allocations: 15.94 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.008304, allocations: 0 / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.008311, allocations: 8 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.008312, allocations: 0 / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008314, allocations: 0 / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.008428, allocations: 235.5 kB / 385.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.097e-05/0.008439, allocations: 11.91 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.00845, allocations: 4 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.415e-05/0.008484, allocations: 4 kB / 385.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.008508, allocations: 7.922 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.008513, allocations: 11.94 kB / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.145e-05/0.008574, allocations: 159.8 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.008575, allocations: 0 / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000171/0.008746, allocations: 27.92 kB / 385.5 MB, free: 11.22 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0008527/0.009598, allocations: 421.7 kB / 386 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.568e-05/0.009694, allocations: 39.66 kB / 386 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.009696, allocations: 0 / 386 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.74e-05/0.009723, allocations: 27.61 kB / 386 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.009941, allocations: 31.98 kB / 386.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.01026, allocations: 226.3 kB / 386.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.051e-05/0.0103, allocations: 72.91 kB / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.396e-05/0.01033, allocations: 8.734 kB / 386.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.844e-05/0.01039, allocations: 82.19 kB / 386.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01039, allocations: 0 / 386.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of Templates: time 0.003221/0.01361, allocations: 1.543 MB / 388 MB, free: 8.863 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.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.8669187678024173]