Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001051/0.001051, 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.001776/0.001776, allocations: 167.4 kB / 25.61 MB, free: 8.578 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.098/1.098, allocations: 177 MB / 205.9 MB, free: 4.453 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.1632/0.1632, allocations: 34.87 MB / 297.4 MB, free: 13.35 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.Test16,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.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.198e-05/3.389e-05, allocations: 4.812 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002527/0.00256, allocations: 1.644 MB / 381.7 MB, free: 21.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008047/0.003365, allocations: 0.5291 MB / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.499e-05/0.00344, allocations: 4 kB / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.003763, allocations: 83.64 kB / 382.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.004076, allocations: 107.5 kB / 382.4 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.004339, allocations: 87.69 kB / 382.5 MB, free: 20.28 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.004527, allocations: 91.69 kB / 382.6 MB, free: 20.19 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.004643, allocations: 7.984 kB / 382.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.36e-05/0.004727, allocations: 47.89 kB / 382.6 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.004841, allocations: 51.88 kB / 382.7 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.004859, allocations: 0 / 382.7 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.618e-05/0.004946, allocations: 55.91 kB / 382.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.459e-05/0.005, allocations: 23.92 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.005029, allocations: 7.938 kB / 382.8 MB, free: 20 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.005191, allocations: 99.59 kB / 382.9 MB, free: 19.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.005194, allocations: 3.938 kB / 382.9 MB, free: 19.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.005196, allocations: 0 / 382.9 MB, free: 19.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.005201, allocations: 0 / 382.9 MB, free: 19.89 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003919/0.005593, allocations: 439.9 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.005636, allocations: 8.031 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.00568, allocations: 16.84 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.005816, allocations: 146.5 kB / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.005827, allocations: 8.375 kB / 383.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.005846, allocations: 384 / 383.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.005965, allocations: 62.88 kB / 383.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.005979, allocations: 8.172 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.005987, allocations: 384 / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.005993, allocations: 384 / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.5e-05/0.006018, allocations: 7.938 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.006275, allocations: 268.4 kB / 383.8 MB, free: 18.85 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.117e-05/0.006336, allocations: 38.98 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.76e-05/0.006354, allocations: 15.69 kB / 383.9 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.006377, allocations: 4 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.006395, allocations: 41.47 kB / 383.9 MB, free: 18.72 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.006396, allocations: 0 / 383.9 MB, free: 18.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004957/0.006892, allocations: 153.8 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.006918, allocations: 59.34 kB / 384.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.007048, allocations: 230.8 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.00706, allocations: 25.7 kB / 384.4 MB, free: 18.22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.007116, allocations: 162.7 kB / 384.5 MB, free: 18.06 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.007147, allocations: 35.73 kB / 384.6 MB, free: 18.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.505e-05/0.007192, allocations: 27.38 kB / 384.6 MB, free: 17.99 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.157e-05/0.007274, allocations: 0.4962 MB / 385.1 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.007292, allocations: 7.984 kB / 385.1 MB, free: 17.47 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.475e-05/0.007307, allocations: 8 kB / 385.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.77e-05/0.007345, allocations: 27.67 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.007347, allocations: 4 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.376e-05/0.00743, allocations: 77.56 kB / 385.2 MB, free: 17.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.007466, allocations: 4 kB / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.007473, allocations: 0 / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.007483, allocations: 0 / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.951e-05/0.007563, allocations: 19.94 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.007567, allocations: 4 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.007591, allocations: 3.984 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.007598, allocations: 7.984 kB / 385.2 MB, free: 17.31 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 (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 4.722e-05/0.007645, allocations: 156.6 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.007672, allocations: 19.84 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.00779, allocations: 87.44 kB / 385.5 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.007793, allocations: 3.938 kB / 385.5 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.007795, allocations: 0 / 385.5 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.007798, allocations: 7.984 kB / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.008031, allocations: 341.6 kB / 385.8 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.008033, allocations: 0 / 385.8 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.893e-05/0.008082, allocations: 19.98 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.008085, allocations: 0 / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.008091, allocations: 4 kB / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.008093, allocations: 0 / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.008094, allocations: 0 / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.056e-05/0.008175, allocations: 239.4 kB / 386.1 MB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.09e-05/0.008186, allocations: 11.91 kB / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.008197, allocations: 8.031 kB / 386.1 MB, free: 16.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.305e-05/0.00823, allocations: 7.938 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.008257, allocations: 3.984 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.008262, allocations: 4 kB / 386.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.728e-05/0.00831, allocations: 163.1 kB / 386.3 MB, free: 16.17 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00831, allocations: 0 / 386.3 MB, free: 16.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000172/0.008482, allocations: 19.94 kB / 386.3 MB, free: 16.15 MB / 314.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.0009538/0.009436, allocations: 439.9 kB / 386.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.039e-05/0.009526, allocations: 47.59 kB / 386.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.009528, allocations: 0 / 386.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.249e-05/0.00955, allocations: 23.67 kB / 386.8 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.009764, allocations: 28.17 kB / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002858/0.01005, allocations: 227.8 kB / 387.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.195e-05/0.01008, allocations: 71.2 kB / 387.1 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.283e-05/0.01011, allocations: 16.78 kB / 387.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/0.01016, allocations: 78.2 kB / 387.2 MB, free: 15.35 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01016, allocations: 0 / 387.2 MB, free: 15.35 MB / 314.7 MB Notification: Performance of Templates: time 0.003171/0.01333, allocations: 1.529 MB / 388.8 MB, free: 13.84 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.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.379739264957607]