Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.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.0009923/0.0009923, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001065/0.001065, allocations: 170 kB / 24.82 MB, free: 9.254 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.9595/0.9595, allocations: 177 MB / 205.1 MB, free: 5.48 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.2517/0.2517, allocations: 34.86 MB / 296.6 MB, free: 0.5117 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.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.676e-05, allocations: 7.578 kB / 379.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.00256/0.002587, allocations: 1.685 MB / 380.9 MB, free: 124 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.004053, allocations: 1.316 MB / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.098e-05/0.004114, allocations: 0 / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.004302, allocations: 31.84 kB / 382.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002878/0.00459, allocations: 91.42 kB / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003621/0.004952, allocations: 171.5 kB / 382.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.005088, allocations: 79.77 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.015e-05/0.005178, allocations: 19.97 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.751e-05/0.005245, allocations: 39.84 kB / 382.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.212e-05/0.005337, allocations: 31.91 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.005354, allocations: 4 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.005506, allocations: 87.88 kB / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.294e-05/0.005559, allocations: 23.92 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.005587, allocations: 19.86 kB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.005865, allocations: 143.5 kB / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.005867, allocations: 0 / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005868, allocations: 0 / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.005872, allocations: 4 kB / 383 MB, free: 14.07 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.000409/0.006281, allocations: 435.9 kB / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.006317, allocations: 8.031 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.006354, allocations: 12.89 kB / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.006495, allocations: 148.4 kB / 383.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.006503, allocations: 384 / 383.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.006519, allocations: 4.375 kB / 383.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.006656, allocations: 108 kB / 383.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.006666, allocations: 4.172 kB / 383.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-06/0.006673, allocations: 384 / 383.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.006678, allocations: 384 / 383.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.954e-05/0.006707, allocations: 23.86 kB / 383.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002682/0.006976, allocations: 264.4 kB / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.008e-05/0.007036, allocations: 39.06 kB / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.989e-05/0.007056, allocations: 15.77 kB / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.007074, allocations: 7.938 kB / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.007099, allocations: 33.39 kB / 384.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.0071, allocations: 0 / 384.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003358/0.007436, allocations: 121.4 kB / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.007469, allocations: 81.11 kB / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.007587, allocations: 193.9 kB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.0076, allocations: 29.7 kB / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.007656, allocations: 146.8 kB / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.00768, allocations: 23.8 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.00772, allocations: 27.36 kB / 384.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.007841, allocations: 0.4923 MB / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.88e-05/0.007859, allocations: 7.984 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.029e-05/0.0079, allocations: 49.08 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.817e-05/0.007948, allocations: 35.66 kB / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.007949, allocations: 7.969 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.557e-05/0.008044, allocations: 69.52 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.008056, allocations: 6.5 kB / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.00806, allocations: 0 / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.008071, allocations: 4 kB / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.145e-05/0.008142, allocations: 19.98 kB / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.008144, allocations: 320 / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.21e-05/0.008177, allocations: 4 kB / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.008184, allocations: 4 kB / 385.4 MB, free: 11.44 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 (7): * Single equations (assignments): 7 * 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.424e-05/0.008248, allocations: 156.6 kB / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.00828, allocations: 19.83 kB / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.008411, allocations: 90.36 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.008413, allocations: 0 / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.008416, allocations: 4 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.008418, allocations: 0 / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.008698, allocations: 314 kB / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.008701, allocations: 3.938 kB / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.865e-05/0.008749, allocations: 15.98 kB / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.008751, allocations: 0 / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.008756, allocations: 0 / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.008757, allocations: 4 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.00876, allocations: 4 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.008893, allocations: 207.9 kB / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.58e-05/0.008909, allocations: 16.17 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.008922, allocations: 0 / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.78e-05/0.00898, allocations: 7.938 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.009007, allocations: 11.97 kB / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.009012, allocations: 0 / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.144e-05/0.009073, allocations: 151.1 kB / 386.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009073, allocations: 0 / 386.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002643/0.009338, allocations: 51.8 kB / 386.4 MB, free: 10.33 MB / 362.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 (7): * Single equations (assignments): 7 * 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.00106/0.0104, allocations: 476.2 kB / 386.9 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.833e-05/0.0105, allocations: 35.67 kB / 386.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.0105, allocations: 0 / 386.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.373e-05/0.01053, allocations: 35.59 kB / 386.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.01079, allocations: 27.02 kB / 387 MB, free: 9.902 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/0.01111, allocations: 204.8 kB / 387.2 MB, free: 9.676 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.127e-05/0.01115, allocations: 63.34 kB / 387.2 MB, free: 9.594 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.412e-05/0.0112, allocations: 17.02 kB / 387.2 MB, free: 9.574 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.993e-05/0.01128, allocations: 90.19 kB / 387.3 MB, free: 9.484 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01128, allocations: 0 / 387.3 MB, free: 9.484 MB / 362.7 MB Notification: Performance of Templates: time 0.004252/0.01554, allocations: 2.207 MB / 389.5 MB, free: 7.293 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.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.00853309314698]