Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.001588/0.001588, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.002308/0.002308, allocations: 156.9 kB / 24.27 MB, free: 172 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.485/1.485, allocations: 177 MB / 204.4 MB, free: 5.629 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.3475/0.3475, allocations: 34.24 MB / 295.2 MB, free: 0.6602 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.393e-05/3.533e-05, allocations: 6.25 kB / 377.3 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003528/0.003563, allocations: 1.71 MB / 379 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.005511, allocations: 0.9697 MB / 380 MB, free: 104 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.043e-05/0.005581, allocations: 11.94 kB / 380 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003407/0.005922, allocations: 87.61 kB / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003875/0.006309, allocations: 115.5 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.006524, allocations: 75.61 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.006733, allocations: 127.5 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.067e-05/0.006814, allocations: 7.938 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.00694, allocations: 67.8 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.007065, allocations: 55.88 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.007084, allocations: 8 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.007189, allocations: 39.98 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.891e-05/0.007258, allocations: 23.92 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.419e-05/0.007312, allocations: 23.91 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.007553, allocations: 127.4 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.007559, allocations: 3.984 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.00756, allocations: 0 / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.007564, allocations: 0 / 380.7 MB, free: 15.34 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006143/0.008179, allocations: 349.5 kB / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.008215, allocations: 12.03 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.38e-05/0.008289, allocations: 20.84 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.008595, allocations: 149.6 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.00861, allocations: 384 / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.008641, allocations: 12.31 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.008813, allocations: 54.23 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.008826, allocations: 4.125 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.008838, allocations: 4.375 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.008845, allocations: 3.938 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.609e-05/0.008931, allocations: 19.98 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/0.009359, allocations: 236.5 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.009557, allocations: 62.62 kB / 381.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.904e-05/0.009626, allocations: 20.84 kB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.009641, allocations: 0 / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.009813, allocations: 71.33 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.133e-06/0.009814, allocations: 0 / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000664/0.01048, allocations: 197.2 kB / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.01053, allocations: 51.41 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.0108, allocations: 223.5 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.01082, allocations: 33.7 kB / 382.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.212e-05/0.01091, allocations: 104.1 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.01096, allocations: 31.77 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.967e-05/0.01103, allocations: 21.72 kB / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.01121, allocations: 330.8 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.887e-05/0.01128, allocations: 23.94 kB / 382.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.064e-05/0.01136, allocations: 33.7 kB / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.0115, allocations: 57.7 kB / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.0115, allocations: 0 / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002375/0.01174, allocations: 121.5 kB / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.01176, allocations: 4 kB / 382.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.01176, allocations: 0 / 382.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.01179, allocations: 0 / 382.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.01192, allocations: 19.98 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.01193, allocations: 4.094 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.181e-05/0.01198, allocations: 4 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.01199, allocations: 4 kB / 383 MB, free: 12.91 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 (10): * Single equations (assignments): 10 * 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.0001375/0.01213, allocations: 129.8 kB / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.01216, allocations: 23.88 kB / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002995/0.01246, allocations: 123.4 kB / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.01247, allocations: 4 kB / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.01247, allocations: 0 / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01247, allocations: 0 / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005746/0.01305, allocations: 366.8 kB / 383.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01305, allocations: 0 / 383.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.933e-05/0.0131, allocations: 11.98 kB / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.0131, allocations: 4 kB / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.01311, allocations: 0 / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.01312, allocations: 4.031 kB / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01312, allocations: 0 / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000325/0.01344, allocations: 220.2 kB / 383.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.611e-05/0.01347, allocations: 15.94 kB / 383.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.01349, allocations: 0 / 383.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.973e-05/0.01357, allocations: 4 kB / 383.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.01362, allocations: 7.984 kB / 383.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.01366, allocations: 8 kB / 383.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000188/0.01384, allocations: 173.1 kB / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01384, allocations: 0 / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002856/0.01413, allocations: 35.88 kB / 384.1 MB, free: 11.73 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: 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 (9): * Single equations (assignments): 7 * 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.0025/0.01663, allocations: 472.3 kB / 384.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002365/0.01687, allocations: 67.84 kB / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01687, allocations: 4.062 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.452e-05/0.01695, allocations: 23.98 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.01737, allocations: 31.48 kB / 384.7 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006225/0.01799, allocations: 272 kB / 384.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.0181, allocations: 88.81 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.184e-05/0.01816, allocations: 25.33 kB / 385 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.01821, allocations: 16.5 kB / 385.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01821, allocations: 0 / 385.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of Templates: time 0.005734/0.02394, allocations: 1.877 MB / 386.9 MB, free: 9.016 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.876015585032292]