Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.0008389/0.0008389, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001132/0.001132, allocations: 160.5 kB / 24.55 MB, free: 20 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.01/1.01, allocations: 177 MB / 204.8 MB, free: 5.57 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.2751/0.2751, allocations: 34.87 MB / 296.3 MB, free: 0.5391 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.CombiTable1Dv.Test3,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.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,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.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.259e-05/3.464e-05, allocations: 8.781 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.00276/0.002795, allocations: 1.646 MB / 380.4 MB, free: 408 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008833/0.003678, allocations: 0.5602 MB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.413e-05/0.003752, allocations: 0 / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.004078, allocations: 79.64 kB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.004384, allocations: 103.5 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.004679, allocations: 107.7 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.004858, allocations: 87.69 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.005, allocations: 15.98 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.152e-05/0.005092, allocations: 43.89 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.005226, allocations: 43.89 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.005248, allocations: 4 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.005359, allocations: 47.91 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.636e-05/0.005426, allocations: 19.92 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.005462, allocations: 15.94 kB / 381.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.005662, allocations: 87.66 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.005665, allocations: 0 / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.005667, allocations: 0 / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.005673, allocations: 7.875 kB / 381.6 MB, free: 15.18 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.0004757/0.006149, allocations: 439.9 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.006193, allocations: 8.031 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.199e-05/0.006245, allocations: 16.89 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.006409, allocations: 146.6 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.006421, allocations: 8.359 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.006447, allocations: 384 / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.006587, allocations: 58.95 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.006596, allocations: 192 / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.006607, allocations: 4.375 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.006615, allocations: 4.312 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.711e-05/0.006652, allocations: 23.92 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.007007, allocations: 291.8 kB / 382.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.484e-05/0.007092, allocations: 47.08 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.534e-05/0.007117, allocations: 11.67 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.00714, allocations: 4 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.007167, allocations: 37.33 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.007168, allocations: 0 / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006284/0.007797, allocations: 161.3 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.007832, allocations: 63.41 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.007985, allocations: 230.5 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.007998, allocations: 33.64 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.008064, allocations: 154.8 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.008092, allocations: 23.8 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.00813, allocations: 27.38 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.008262, allocations: 0.4962 MB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.667e-05/0.008288, allocations: 7.984 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.126e-05/0.00831, allocations: 11.94 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.856e-05/0.008368, allocations: 35.67 kB / 383.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.00837, allocations: 4 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001181/0.008488, allocations: 85.59 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.008505, allocations: 4 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.008511, allocations: 0 / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.00853, allocations: 0 / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.468e-05/0.008625, allocations: 19.98 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.00863, allocations: 4.25 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.814e-05/0.008648, allocations: 0 / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.008656, allocations: 8 kB / 384.1 MB, free: 12.54 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 7.15e-05/0.008728, allocations: 152.6 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.008755, allocations: 27.84 kB / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.008914, allocations: 87.11 kB / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.008918, allocations: 4 kB / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.008921, allocations: 0 / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.008925, allocations: 0 / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003101/0.009235, allocations: 373 kB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.009237, allocations: 0 / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.023e-05/0.009287, allocations: 19.92 kB / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.00929, allocations: 0 / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.009297, allocations: 4 kB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.0093, allocations: 8.031 kB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.009302, allocations: 0 / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.009453, allocations: 243.5 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.009464, allocations: 7.953 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.009478, allocations: 4 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.427e-05/0.009512, allocations: 3.938 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.009546, allocations: 11.98 kB / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.009552, allocations: 7.938 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.168e-05/0.009623, allocations: 163.9 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009623, allocations: 0 / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001657/0.009789, allocations: 31.88 kB / 385.2 MB, free: 11.33 MB / 362.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.0009198/0.01071, allocations: 421.1 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.01083, allocations: 47.58 kB / 385.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01083, allocations: 0 / 385.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.066e-05/0.01086, allocations: 31.67 kB / 385.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.01109, allocations: 19.98 kB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003813/0.01147, allocations: 234.3 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.521e-05/0.01151, allocations: 72.97 kB / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.431e-05/0.01156, allocations: 16.72 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.01159, allocations: 12.5 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01159, allocations: 0 / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of Templates: time 0.003346/0.01493, allocations: 1.4 MB / 387.4 MB, free: 9.164 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.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.406346165109426]