Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.001384/0.001384, allocations: 87.67 kB / 21.19 MB, free: 3.371 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.00136/0.00136, allocations: 160.5 kB / 24.56 MB, free: 12 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 0.9642/0.9642, allocations: 177 MB / 204.8 MB, free: 5.562 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.3009/0.3009, allocations: 34.86 MB / 296.3 MB, free: 496 kB / 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.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 378.8 MB, free: 1.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.377e-05, allocations: 6.312 kB / 378.9 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002503/0.002527, allocations: 1.951 MB / 380.8 MB, free: 12 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.003834, allocations: 1.05 MB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.867e-05/0.003933, allocations: 0 / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.00422, allocations: 51.58 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.004524, allocations: 107.4 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.004755, allocations: 99.58 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.004947, allocations: 147.5 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.005049, allocations: 17.81 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.005155, allocations: 79.73 kB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.463e-05/0.00524, allocations: 39.84 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.005258, allocations: 4 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.964e-05/0.005348, allocations: 51.91 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.005402, allocations: 27.86 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.022e-05/0.005452, allocations: 35.91 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.005665, allocations: 131.4 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.005668, allocations: 0 / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005669, allocations: 0 / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.005673, allocations: 0 / 382.6 MB, free: 14.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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004934/0.006166, allocations: 0.4974 MB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.006202, allocations: 8.031 kB / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.454e-05/0.006256, allocations: 24.8 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.006456, allocations: 177.1 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.006477, allocations: 12.38 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.006502, allocations: 8.359 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.006677, allocations: 139.7 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.006683, allocations: 192 / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.006694, allocations: 4.375 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.006701, allocations: 3.938 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.613e-05/0.006757, allocations: 35.91 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.007224, allocations: 0.5794 MB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.007429, allocations: 79.16 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.062e-05/0.007469, allocations: 27.67 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.007484, allocations: 0 / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/0.007608, allocations: 98.69 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.007609, allocations: 0 / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002185/0.007828, allocations: 117.4 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.007857, allocations: 55.41 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.008013, allocations: 247.1 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.008029, allocations: 25.7 kB / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.651e-05/0.008105, allocations: 174.8 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.008125, allocations: 31.73 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.008165, allocations: 35.36 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.008288, allocations: 0.5 MB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.492e-05/0.008323, allocations: 15.98 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.234e-05/0.008375, allocations: 58.42 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.331e-05/0.008468, allocations: 86.31 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.008471, allocations: 7.938 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001419/0.008613, allocations: 113.5 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.008627, allocations: 4 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.008632, allocations: 0 / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.008647, allocations: 4 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.15e-05/0.008708, allocations: 27.92 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.008716, allocations: 4 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.339e-05/0.00875, allocations: 7.938 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.008758, allocations: 12.11 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.769e-05/0.008846, allocations: 164.5 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.008867, allocations: 19.91 kB / 386 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/0.009022, allocations: 107.1 kB / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.009024, allocations: 0 / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.009027, allocations: 0 / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.009031, allocations: 0 / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.00915, allocations: 164.5 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.009152, allocations: 0 / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.336e-05/0.009196, allocations: 8 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.0092, allocations: 11.98 kB / 386.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.009209, allocations: 3.938 kB / 386.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.009211, allocations: 0 / 386.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.009212, allocations: 0 / 386.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.009395, allocations: 164.2 kB / 386.4 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.725e-05/0.009413, allocations: 15.84 kB / 386.5 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.009429, allocations: 4 kB / 386.5 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.468e-05/0.009454, allocations: 0 / 386.5 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.009493, allocations: 11.98 kB / 386.5 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.009508, allocations: 11.98 kB / 386.5 MB, free: 9.953 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.319e-05/0.009591, allocations: 179.2 kB / 386.7 MB, free: 9.777 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009592, allocations: 0 / 386.7 MB, free: 9.777 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001657/0.009757, allocations: 27.98 kB / 386.7 MB, free: 9.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008826/0.01064, allocations: 379.4 kB / 387.1 MB, free: 9.484 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.01077, allocations: 67.53 kB / 387.1 MB, free: 9.414 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.01077, allocations: 0 / 387.1 MB, free: 9.414 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.671e-05/0.0108, allocations: 23.69 kB / 387.2 MB, free: 9.387 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.011, allocations: 50.66 kB / 387.2 MB, free: 9.344 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.0114, allocations: 258.3 kB / 387.5 MB, free: 9.066 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.206e-05/0.01144, allocations: 68.09 kB / 387.5 MB, free: 8.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.376e-05/0.01148, allocations: 21.47 kB / 387.5 MB, free: 8.957 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.01152, allocations: 20.48 kB / 387.6 MB, free: 8.938 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01152, allocations: 0 / 387.6 MB, free: 8.938 MB / 362.7 MB Notification: Performance of Templates: time 0.003803/0.01532, allocations: 2.05 MB / 389.6 MB, free: 6.918 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.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.242221087682992]