Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.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.002464/0.002464, allocations: 99.53 kB / 20.97 MB, free: 3.449 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.002754/0.002754, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 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.592/1.592, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3403/0.3403, allocations: 34.26 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.113e-05, allocations: 4.844 kB / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.003325/0.003356, allocations: 1.607 MB / 378.8 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.005707, allocations: 1.25 MB / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.648e-05/0.005774, allocations: 8 kB / 380.1 MB, free: 12 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.006048, allocations: 23.86 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003654/0.006414, allocations: 87.42 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.006699, allocations: 91.62 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.00689, allocations: 71.78 kB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.006996, allocations: 11.97 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.011e-05/0.007086, allocations: 31.92 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.007255, allocations: 31.89 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.007279, allocations: 4 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.007485, allocations: 83.83 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.193e-05/0.007547, allocations: 15.98 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.488e-05/0.007592, allocations: 15.92 kB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.007927, allocations: 147.5 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.007933, allocations: 3.938 kB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.007935, allocations: 0 / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.007946, allocations: 4 kB / 380.7 MB, free: 15.4 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000701/0.008647, allocations: 423.7 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.008688, allocations: 8.031 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.13e-05/0.008749, allocations: 8.891 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.00898, allocations: 140.4 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.008994, allocations: 8.375 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.009022, allocations: 8.359 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.009223, allocations: 87.33 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.009234, allocations: 192 / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.009246, allocations: 4.375 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.00925, allocations: 384 / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.146e-05/0.009341, allocations: 19.92 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.009772, allocations: 287.7 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.01001, allocations: 47.05 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.231e-05/0.01006, allocations: 27.62 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.01008, allocations: 4 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.01011, allocations: 37.47 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.01011, allocations: 0 / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005669/0.01068, allocations: 129.3 kB / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/0.01076, allocations: 81.11 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.01098, allocations: 212.7 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.011, allocations: 29.7 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.731e-05/0.0111, allocations: 138.9 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.01113, allocations: 19.88 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.01119, allocations: 31.31 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002837/0.01147, allocations: 0.4923 MB / 382.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.033e-05/0.01153, allocations: 12 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.281e-05/0.01162, allocations: 61.06 kB / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.01174, allocations: 43.86 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.01174, allocations: 4 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001782/0.01192, allocations: 77.56 kB / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.01194, allocations: 12.03 kB / 383.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.01194, allocations: 0 / 383.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.01196, allocations: 0 / 383.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.329e-05/0.01202, allocations: 11.94 kB / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.01203, allocations: 0 / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.459e-05/0.01208, allocations: 11.92 kB / 383.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-06/0.01209, allocations: 0 / 383.1 MB, free: 12.72 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 (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 0.0001319/0.01222, allocations: 160.6 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.01227, allocations: 15.89 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.01251, allocations: 82.09 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.01252, allocations: 4 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.01252, allocations: 4 kB / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.01253, allocations: 3.984 kB / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004722/0.013, allocations: 341.3 kB / 383.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.013, allocations: 4 kB / 383.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.311e-05/0.01305, allocations: 11.98 kB / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01305, allocations: 0 / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.01306, allocations: 0 / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01306, allocations: 3.938 kB / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01306, allocations: 4 kB / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.01335, allocations: 232 kB / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.155e-05/0.01337, allocations: 11.95 kB / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.01339, allocations: 4 kB / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.901e-05/0.01346, allocations: 7.984 kB / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.0135, allocations: 0 / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.01351, allocations: 288 / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001411/0.01365, allocations: 159.2 kB / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01365, allocations: 0 / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002934/0.01394, allocations: 39.88 kB / 384.2 MB, free: 11.57 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 (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.003331/0.01727, allocations: 0.5154 MB / 384.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002207/0.01749, allocations: 51.59 kB / 384.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.0175, allocations: 4 kB / 384.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.608e-05/0.01757, allocations: 27.67 kB / 384.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.0179, allocations: 26.42 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004901/0.01839, allocations: 181.9 kB / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.071e-05/0.01848, allocations: 75.33 kB / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.057e-05/0.01854, allocations: 11.98 kB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.01859, allocations: 16.48 kB / 385.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01859, allocations: 4 kB / 385.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of Templates: time 0.005789/0.02438, allocations: 1.821 MB / 386.9 MB, free: 8.965 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.114081560983323]