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.00106/0.00106, allocations: 95.5 kB / 21.2 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.0009417/0.0009417, allocations: 160.5 kB / 24.55 MB, free: 16 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.9784/0.9784, allocations: 177 MB / 204.8 MB, free: 5.582 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.2556/0.2556, allocations: 34.86 MB / 296.3 MB, free: 0.5 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 2.023e-06/2.023e-06, allocations: 0 / 378.8 MB, free: 1.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.036e-05/3.238e-05, allocations: 7.094 kB / 378.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.005891/0.005924, allocations: 1.953 MB / 380.8 MB, free: 20 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00457/0.01049, allocations: 1.047 MB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.0106, allocations: 8 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003279/0.01093, allocations: 39.64 kB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003521/0.01128, allocations: 107.3 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.0115, allocations: 99.58 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.01171, allocations: 151.5 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.01182, allocations: 17.8 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.01193, allocations: 79.75 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.087e-05/0.01202, allocations: 35.83 kB / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.01205, allocations: 8 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.693e-05/0.01214, allocations: 51.92 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.511e-05/0.0122, allocations: 27.91 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.541e-05/0.01225, allocations: 31.84 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.01247, allocations: 135.4 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.01248, allocations: 4 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01248, allocations: 0 / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.01248, 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.0005842/0.01307, allocations: 0.4936 MB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.001073/0.01414, allocations: 11.97 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.09e-05/0.0142, allocations: 28.8 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.01439, allocations: 169.1 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.01442, allocations: 12.36 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.01444, allocations: 8.375 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.01463, allocations: 139.7 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.01464, allocations: 192 / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.01465, allocations: 4.375 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.01467, allocations: 7.938 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.364e-05/0.01472, allocations: 31.91 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.0152, allocations: 0.5872 MB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.0154, allocations: 67.16 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.842e-05/0.01544, allocations: 27.67 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.01545, allocations: 4 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001279/0.01558, allocations: 102.7 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.01558, allocations: 0 / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002115/0.01579, allocations: 117.4 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.01582, allocations: 51.41 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.01596, allocations: 247.1 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.01598, allocations: 29.7 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.551e-05/0.01605, allocations: 166.8 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.01607, allocations: 27.75 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.01611, allocations: 39.36 kB / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.01623, allocations: 0.5 MB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.737e-05/0.01626, allocations: 11.98 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.89e-05/0.01631, allocations: 66.42 kB / 385.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.086e-05/0.01639, allocations: 86.3 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01639, allocations: 0 / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003842/0.01677, allocations: 117.5 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.01679, allocations: 10.66 kB / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.01679, allocations: 0 / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.0168, allocations: 0 / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/0.01687, allocations: 23.98 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.01687, allocations: 4.062 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.227e-05/0.0169, allocations: 15.88 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.547e-06/0.01691, allocations: 8 kB / 385.8 MB, free: 10.71 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 7.897e-05/0.01699, allocations: 172.5 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.01701, allocations: 15.91 kB / 386 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.01714, allocations: 103.1 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01714, allocations: 4 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.01715, allocations: 0 / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.01715, allocations: 0 / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.817e-05/0.01725, allocations: 160.5 kB / 386.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.01725, allocations: 4 kB / 386.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.617e-05/0.01729, allocations: 12 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.0173, allocations: 0 / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.01731, allocations: 15.98 kB / 386.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01731, allocations: 3.938 kB / 386.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01731, allocations: 0 / 386.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.01747, allocations: 160.2 kB / 386.5 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.385e-05/0.01748, allocations: 15.84 kB / 386.5 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.01749, allocations: 0 / 386.5 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.555e-05/0.01752, allocations: 8 kB / 386.5 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.01755, allocations: 16 kB / 386.5 MB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.01757, allocations: 4 kB / 386.5 MB, free: 9.957 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.942e-05/0.01764, allocations: 171.1 kB / 386.7 MB, free: 9.789 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01764, allocations: 0 / 386.7 MB, free: 9.789 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001471/0.01778, allocations: 31.98 kB / 386.7 MB, free: 9.758 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.0007811/0.01856, allocations: 382.9 kB / 387.1 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.01869, allocations: 55.55 kB / 387.1 MB, free: 9.434 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01869, allocations: 4 kB / 387.1 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.04e-05/0.01873, allocations: 31.67 kB / 387.2 MB, free: 9.395 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.01893, allocations: 44.22 kB / 387.2 MB, free: 9.352 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003912/0.01932, allocations: 254.2 kB / 387.4 MB, free: 9.078 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.972e-05/0.01936, allocations: 71.83 kB / 387.5 MB, free: 8.988 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.611e-05/0.0194, allocations: 21.47 kB / 387.5 MB, free: 8.965 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.01944, allocations: 16.5 kB / 387.6 MB, free: 8.949 MB / 362.7 MB Notification: Performance of SimCode: time 4.1e-07/0.01944, allocations: 0 / 387.6 MB, free: 8.949 MB / 362.7 MB Notification: Performance of Templates: time 0.00395/0.02339, allocations: 2.209 MB / 389.8 MB, free: 6.77 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","",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.193630953785032]