Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.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.001137/0.001137, allocations: 81.91 kB / 21.42 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.001317/0.001317, allocations: 169.3 kB / 24.82 MB, free: 9.273 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.9241/0.9241, allocations: 177 MB / 205.1 MB, free: 5.484 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.2468/0.2468, allocations: 34.87 MB / 296.6 MB, free: 0.5 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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 379.2 MB, free: 1.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.82e-05, allocations: 2.312 kB / 379.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002052/0.00207, allocations: 1.644 MB / 380.9 MB, free: 180 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.003215, allocations: 1.277 MB / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.137e-05/0.003266, allocations: 0 / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.003463, allocations: 31.78 kB / 382.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.003714, allocations: 83.5 kB / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.003924, allocations: 91.69 kB / 382.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.004046, allocations: 83.69 kB / 382.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.968e-05/0.004126, allocations: 12 kB / 382.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.553e-05/0.004182, allocations: 39.89 kB / 382.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.698e-05/0.004259, allocations: 27.91 kB / 382.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.004271, allocations: 4 kB / 382.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.004391, allocations: 95.88 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.326e-05/0.004425, allocations: 19.86 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/0.004445, allocations: 15.92 kB / 382.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.004619, allocations: 143.5 kB / 382.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.004621, allocations: 0 / 382.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.004621, allocations: 0 / 382.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.004626, allocations: 0 / 382.8 MB, free: 14.26 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003354/0.004961, allocations: 431.9 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.004993, allocations: 8.031 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.005023, allocations: 16.89 kB / 383.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.005138, allocations: 152.4 kB / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.172e-06/0.005144, allocations: 384 / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.005161, allocations: 8.375 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.005267, allocations: 104 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.005275, allocations: 4.125 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.005281, allocations: 384 / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.005286, allocations: 4.375 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.476e-05/0.005311, allocations: 15.92 kB / 383.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002139/0.005525, allocations: 268.4 kB / 383.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.267e-05/0.005578, allocations: 46.98 kB / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.959e-05/0.005597, allocations: 23.67 kB / 383.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.005618, allocations: 0 / 383.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.00564, allocations: 37.39 kB / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 7.51e-07/0.00564, allocations: 0 / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002759/0.005916, allocations: 121.5 kB / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.005945, allocations: 85.05 kB / 384.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.595e-05/0.006041, allocations: 193.9 kB / 384.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.729e-06/0.006051, allocations: 25.7 kB / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.006098, allocations: 146.8 kB / 384.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.006117, allocations: 27.73 kB / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.006148, allocations: 35.36 kB / 384.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.006249, allocations: 0.4884 MB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/0.006263, allocations: 8 kB / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.094e-05/0.006294, allocations: 53.06 kB / 385.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.5e-05/0.006329, allocations: 35.61 kB / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.00633, allocations: 0 / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.756e-05/0.006397, allocations: 69.81 kB / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.006407, allocations: 10.34 kB / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.006411, allocations: 3.984 kB / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.00642, allocations: 0 / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.254e-05/0.006472, allocations: 12.38 kB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.085e-06/0.006475, allocations: 8.094 kB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.022e-05/0.006496, allocations: 11.98 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.006502, allocations: 4 kB / 385.2 MB, free: 11.6 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.824e-05/0.00657, allocations: 160.5 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.006593, allocations: 15.89 kB / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.006706, allocations: 78.44 kB / 385.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.006709, allocations: 4 kB / 385.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.006711, allocations: 0 / 385.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.006716, allocations: 3.984 kB / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.006941, allocations: 329.9 kB / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.006943, allocations: 0 / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.439e-05/0.006977, allocations: 15.98 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.006979, allocations: 0 / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.006985, allocations: 4 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.006986, allocations: 0 / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.006987, allocations: 0 / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.007096, allocations: 231.7 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-06/0.007106, allocations: 7.953 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.007116, allocations: 0 / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.513e-05/0.007152, allocations: 8 kB / 386.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.076e-05/0.007172, allocations: 11.98 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-06/0.007175, allocations: 0 / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.839e-05/0.007223, allocations: 147.1 kB / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007223, allocations: 0 / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001856/0.007409, allocations: 43.88 kB / 386.3 MB, free: 10.49 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 (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.0008379/0.008247, allocations: 480.1 kB / 386.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.771e-05/0.008325, allocations: 43.59 kB / 386.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.008326, allocations: 0 / 386.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.413e-05/0.00835, allocations: 27.67 kB / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.008529, allocations: 22.89 kB / 386.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002524/0.008782, allocations: 198.5 kB / 387 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.358e-05/0.008815, allocations: 67.14 kB / 387.1 MB, free: 9.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.656e-05/0.008852, allocations: 20.72 kB / 387.1 MB, free: 9.727 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.474e-05/0.008917, allocations: 90.17 kB / 387.2 MB, free: 9.637 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.008917, allocations: 0 / 387.2 MB, free: 9.637 MB / 362.7 MB Notification: Performance of Templates: time 0.003171/0.01209, allocations: 2.116 MB / 389.3 MB, free: 7.539 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.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.857148835901171]