Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.001887/0.001887, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002009/0.002009, allocations: 160.8 kB / 24.27 MB, free: 156 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.562/1.562, allocations: 177 MB / 204.5 MB, free: 5.609 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.354/0.354, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.816e-06/2.816e-06, allocations: 0 / 377.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.546e-05/3.827e-05, allocations: 4.562 kB / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003345/0.003383, allocations: 1.751 MB / 379.1 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.005402, allocations: 1.001 MB / 380.1 MB, free: 36 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.878e-05/0.00548, allocations: 7.938 kB / 380.1 MB, free: 28 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003962/0.005876, allocations: 91.61 kB / 380.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003574/0.006234, allocations: 115.4 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.006443, allocations: 79.67 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.00666, allocations: 127.5 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.006765, allocations: 15.92 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.006902, allocations: 67.81 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.007023, allocations: 55.86 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.007045, allocations: 4 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.007172, allocations: 63.86 kB / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.908e-05/0.007241, allocations: 27.84 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.889e-05/0.00729, allocations: 19.94 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.007547, allocations: 135.6 kB / 380.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.00755, allocations: 4 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.007551, allocations: 0 / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.007557, allocations: 3.938 kB / 380.9 MB, free: 15.23 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006766/0.008234, allocations: 471.3 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.008269, allocations: 11.97 kB / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.555e-05/0.008334, allocations: 20.84 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.008594, allocations: 152.4 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.008609, allocations: 4.375 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.008644, allocations: 12.36 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.00879, allocations: 50.23 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.008805, allocations: 8.188 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.008817, allocations: 4.375 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.008824, allocations: 3.938 kB / 381.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.459e-05/0.008908, allocations: 23.92 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.009363, allocations: 299.8 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/0.00964, allocations: 67.03 kB / 382 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.629e-05/0.009706, allocations: 23.8 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.00972, allocations: 4 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.009895, allocations: 80.92 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.009896, allocations: 0 / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008771/0.01077, allocations: 265.6 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.01082, allocations: 55.41 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004282/0.01125, allocations: 262.7 kB / 382.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.01128, allocations: 29.7 kB / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.0114, allocations: 162.9 kB / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/0.01145, allocations: 39.69 kB / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/0.01151, allocations: 35.38 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003035/0.01181, allocations: 0.504 MB / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.438e-05/0.01188, allocations: 28 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.723e-05/0.01198, allocations: 59.34 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.01214, allocations: 87.25 kB / 383.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.01214, allocations: 0 / 383.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002531/0.0124, allocations: 137.5 kB / 383.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.01241, allocations: 4 kB / 383.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.01242, allocations: 0 / 383.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.01243, allocations: 4 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.01253, allocations: 19.98 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.01254, allocations: 0 / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.947e-05/0.01259, allocations: 8 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.0126, allocations: 12.03 kB / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001424/0.01274, allocations: 172.4 kB / 383.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/0.01277, allocations: 15.91 kB / 383.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003212/0.0131, allocations: 147.1 kB / 384.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.0131, allocations: 0 / 384.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.0131, allocations: 0 / 384.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.01311, allocations: 3.984 kB / 384.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006591/0.01377, allocations: 480.5 kB / 384.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.01377, allocations: 4.062 kB / 384.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.438e-05/0.01383, allocations: 16 kB / 384.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01383, allocations: 0 / 384.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.01385, allocations: 11.98 kB / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.01385, allocations: 3.938 kB / 384.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01385, allocations: 0 / 384.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.01422, allocations: 299.5 kB / 384.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.472e-05/0.01424, allocations: 11.91 kB / 384.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.01427, allocations: 3.984 kB / 384.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.571e-05/0.01435, allocations: 11.94 kB / 384.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.671e-05/0.01441, allocations: 15.86 kB / 384.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.01443, allocations: 8 kB / 384.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001766/0.01461, allocations: 193 kB / 385.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01461, allocations: 0 / 385.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002704/0.01488, allocations: 35.94 kB / 385.2 MB, free: 10.61 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * 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 (12): * Single equations (assignments): 10 * 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.003814/0.0187, allocations: 0.5308 MB / 385.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.01894, allocations: 87.53 kB / 385.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01894, allocations: 0 / 385.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.01905, allocations: 59.72 kB / 385.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.01944, allocations: 34.78 kB / 385.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006185/0.02006, allocations: 288.4 kB / 386.1 MB, free: 9.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.02018, allocations: 97.77 kB / 386.2 MB, free: 9.652 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.872e-05/0.02024, allocations: 16.7 kB / 386.3 MB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.404e-05/0.02031, allocations: 20.5 kB / 386.3 MB, free: 9.617 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02031, allocations: 0 / 386.3 MB, free: 9.617 MB / 362.7 MB Notification: Performance of Templates: time 0.006611/0.02692, allocations: 2.112 MB / 388.4 MB, free: 7.527 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.968876414000988]