Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001296/0.001296, 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.001504/0.001504, 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.9793/0.9793, 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.2454/0.2454, 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.CombiTable2Dv.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,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.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.327e-05/1.465e-05, allocations: 7.578 kB / 379.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.001948/0.001962, allocations: 1.685 MB / 380.9 MB, free: 124 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.003091, allocations: 1.316 MB / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.216e-05/0.003143, allocations: 4 kB / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.003302, allocations: 19.86 kB / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.003533, allocations: 99.41 kB / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.003789, allocations: 167.5 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.003903, allocations: 83.77 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.49e-05/0.003977, allocations: 19.97 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.64e-05/0.004034, allocations: 43.83 kB / 382.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.69e-05/0.004111, allocations: 27.91 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.004124, allocations: 4 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.004245, allocations: 95.81 kB / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.344e-05/0.004289, allocations: 19.92 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.004313, allocations: 19.92 kB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.004473, allocations: 139.5 kB / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.004475, allocations: 0 / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.004476, allocations: 0 / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.004479, 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.0003242/0.004803, allocations: 439.9 kB / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.004832, allocations: 8.031 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.00486, allocations: 8.891 kB / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.004973, allocations: 148.4 kB / 383.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-06/0.00498, allocations: 384 / 383.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.004996, allocations: 4.375 kB / 383.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.005107, allocations: 108 kB / 383.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.005114, allocations: 4.188 kB / 383.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-06/0.005121, allocations: 384 / 383.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.005124, allocations: 4.375 kB / 383.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.282e-05/0.005147, allocations: 11.92 kB / 383.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002196/0.005367, allocations: 272.4 kB / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.249e-05/0.005419, allocations: 39 kB / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.005438, allocations: 19.77 kB / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.005455, allocations: 4 kB / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.005473, allocations: 33.39 kB / 384.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.12e-07/0.005473, allocations: 0 / 384.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002808/0.005754, allocations: 121.4 kB / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.005786, allocations: 81.11 kB / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.663e-05/0.005883, allocations: 193.9 kB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.005893, allocations: 25.7 kB / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.005943, allocations: 150.8 kB / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.005961, allocations: 19.8 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.005991, allocations: 27.36 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.00611, allocations: 0.4923 MB / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.511e-05/0.006125, allocations: 7.984 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.286e-05/0.006158, allocations: 53.08 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.024e-05/0.006198, allocations: 43.62 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.006199, allocations: 0 / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.09e-05/0.00627, allocations: 65.58 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.006279, allocations: 10.44 kB / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.006284, allocations: 0 / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.206e-06/0.006292, allocations: 4 kB / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.821e-05/0.00635, allocations: 19.98 kB / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.006353, allocations: 320 / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.262e-05/0.006375, allocations: 4 kB / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.00638, allocations: 0 / 385.4 MB, free: 11.45 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 5.824e-05/0.006438, allocations: 168.5 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.006457, allocations: 11.89 kB / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.834e-05/0.006556, allocations: 86.38 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.006557, allocations: 0 / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.006558, allocations: 0 / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.00656, allocations: 4 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.006767, allocations: 310 kB / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.006769, allocations: 7.938 kB / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.642e-05/0.006806, allocations: 19.98 kB / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.006807, allocations: 0 / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-06/0.006812, allocations: 4 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.006812, allocations: 0 / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.006813, allocations: 0 / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.006921, allocations: 216.1 kB / 386.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.006931, allocations: 11.89 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.006941, allocations: 4 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.326e-05/0.006985, allocations: 7.984 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.00701, allocations: 7.984 kB / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.007013, allocations: 0 / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.26e-05/0.007066, allocations: 147.1 kB / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007066, allocations: 4 kB / 386.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001743/0.00724, allocations: 47.86 kB / 386.4 MB, free: 10.34 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.0008303/0.00807, allocations: 476.2 kB / 386.9 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.11e-05/0.008141, allocations: 39.67 kB / 386.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.008143, allocations: 7.938 kB / 386.9 MB, free: 9.957 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.473e-05/0.008167, allocations: 27.66 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.0001753/0.008343, 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.0002659/0.008609, allocations: 200.8 kB / 387.2 MB, free: 9.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.597e-05/0.008645, allocations: 63.34 kB / 387.2 MB, free: 9.598 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.108e-05/0.008686, allocations: 21.02 kB / 387.2 MB, free: 9.574 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.833e-05/0.008754, allocations: 90.19 kB / 387.3 MB, free: 9.484 MB / 362.7 MB Notification: Performance of SimCode: time 3.6e-07/0.008754, allocations: 0 / 387.3 MB, free: 9.484 MB / 362.7 MB Notification: Performance of Templates: time 0.003106/0.01186, 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.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.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.9991477667354047]