Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.001876/0.001876, allocations: 95.59 kB / 20.97 MB, free: 3.434 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.00203/0.00203, allocations: 156.9 kB / 24.27 MB, free: 140 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.587/1.587, allocations: 177 MB / 204.5 MB, free: 5.617 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.3503/0.3503, allocations: 34.25 MB / 295.2 MB, free: 0.6367 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.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 3.938 kB / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/2.899e-05, allocations: 8.922 kB / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003671/0.0037, allocations: 1.916 MB / 379.2 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.005899, allocations: 1.036 MB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.006028, allocations: 0 / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006261/0.006654, allocations: 51.62 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003773/0.007032, allocations: 103.4 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.007302, allocations: 99.53 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.00755, allocations: 147.5 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.007659, allocations: 25.78 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.007833, allocations: 75.77 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.007941, allocations: 39.81 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.007971, allocations: 8 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.008085, allocations: 47.92 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.492e-05/0.00816, allocations: 27.91 kB / 380.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.889e-05/0.008228, allocations: 31.86 kB / 380.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.008538, allocations: 151.4 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.008542, allocations: 0 / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.008543, allocations: 4 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.008548, allocations: 0 / 381 MB, free: 15.04 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.0007951/0.009343, allocations: 0.5049 MB / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.009377, allocations: 8.031 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.302e-05/0.00945, allocations: 24.8 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.009757, allocations: 181 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.009777, allocations: 12.31 kB / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.009803, allocations: 4.375 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.01008, allocations: 147 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.01009, allocations: 192 / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.0101, allocations: 8.312 kB / 381.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.01011, allocations: 7.938 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.01026, allocations: 43.97 kB / 382 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007806/0.01104, allocations: 0.5989 MB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.01139, allocations: 83.16 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.01149, allocations: 35.67 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.01151, allocations: 4 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002539/0.01176, allocations: 114.7 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.01176, allocations: 0 / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004532/0.01221, allocations: 141.5 kB / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.01227, allocations: 51.41 kB / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.01256, allocations: 267.1 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.01259, allocations: 25.7 kB / 383.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.01274, allocations: 170.8 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.01278, allocations: 31.78 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.93e-05/0.01285, allocations: 43.31 kB / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000289/0.01313, allocations: 0.5079 MB / 384 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.183e-05/0.01322, allocations: 23.98 kB / 384.1 MB, free: 11.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.01334, allocations: 78.36 kB / 384.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.01355, allocations: 106.7 kB / 384.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01355, allocations: 0 / 384.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003092/0.01386, allocations: 141.4 kB / 384.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.01388, allocations: 4 kB / 384.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.01388, allocations: 0 / 384.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.0139, allocations: 4 kB / 384.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.014, allocations: 23.92 kB / 384.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.01401, allocations: 4 kB / 384.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.482e-05/0.01408, allocations: 7.938 kB / 384.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.01409, allocations: 8 kB / 384.4 MB, free: 11.36 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 0.0001444/0.01423, allocations: 168.6 kB / 384.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.01427, allocations: 27.89 kB / 384.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003186/0.01459, allocations: 123 kB / 384.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01459, allocations: 0 / 384.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.0146, allocations: 0 / 384.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.0146, allocations: 0 / 384.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.01481, allocations: 180.5 kB / 384.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01481, allocations: 0 / 384.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.562e-05/0.0149, allocations: 19.92 kB / 384.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.01491, allocations: 4 kB / 384.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.01492, allocations: 0 / 384.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.01492, allocations: 8 kB / 384.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01492, allocations: 0 / 384.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004189/0.01534, allocations: 192.2 kB / 385.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.016e-05/0.01537, allocations: 15.91 kB / 385.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.0154, allocations: 0 / 385.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.986e-05/0.01547, allocations: 4 kB / 385.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.01552, allocations: 11.98 kB / 385.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.01554, allocations: 4 kB / 385.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001742/0.01572, allocations: 183.1 kB / 385.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01572, allocations: 0 / 385.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002377/0.01595, allocations: 35.95 kB / 385.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: 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.002913/0.01887, allocations: 437.1 kB / 385.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002632/0.01913, allocations: 79.53 kB / 385.9 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.01914, allocations: 4 kB / 385.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.01925, allocations: 43.61 kB / 385.9 MB, free: 9.918 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.01959, allocations: 46.45 kB / 386 MB, free: 9.875 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005851/0.02017, allocations: 270.1 kB / 386.2 MB, free: 9.586 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.02029, allocations: 102.1 kB / 386.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.694e-05/0.02036, allocations: 17.48 kB / 386.4 MB, free: 9.441 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.02041, allocations: 20.5 kB / 386.4 MB, free: 9.422 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02041, allocations: 4 kB / 386.4 MB, free: 9.418 MB / 362.7 MB Notification: Performance of Templates: time 0.006552/0.02697, allocations: 2.046 MB / 388.4 MB, free: 7.402 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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: 4.9625273699639365]