Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.001813/0.001813, allocations: 92.27 kB / 20.96 MB, free: 3.441 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.001667/0.001667, allocations: 160.9 kB / 24.26 MB, free: 144 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.533/1.533, allocations: 177 MB / 204.4 MB, free: 5.605 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.3634/0.3634, allocations: 34.25 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 377.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.294e-05/3.543e-05, allocations: 8.641 kB / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003767/0.003802, allocations: 1.72 MB / 379 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.005853, allocations: 0.9736 MB / 380 MB, free: 108 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.097e-05/0.005944, allocations: 7.938 kB / 380 MB, free: 100 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003539/0.006298, allocations: 47.69 kB / 380 MB, free: 52 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004024/0.0067, allocations: 99.53 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.006931, allocations: 75.61 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.007157, allocations: 115.6 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.783e-05/0.007254, allocations: 7.984 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.007373, allocations: 43.91 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.007474, allocations: 31.84 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.007495, allocations: 4 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.007609, allocations: 43.92 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.359e-05/0.007683, allocations: 27.91 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.676e-05/0.007739, allocations: 23.92 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.007999, allocations: 123.5 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.008003, allocations: 0 / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.008004, allocations: 0 / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.00801, allocations: 0 / 380.6 MB, free: 15.46 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.0006854/0.008695, allocations: 345.6 kB / 381 MB, free: 15.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.008746, allocations: 16.02 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.142e-05/0.008818, allocations: 12.84 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.00916, allocations: 154 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.009177, allocations: 384 / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.009215, allocations: 16.31 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.009408, allocations: 54.23 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.00942, allocations: 192 / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.009433, allocations: 384 / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.009441, allocations: 3.938 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.155e-05/0.009532, allocations: 19.98 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.00998, allocations: 228.6 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.0102, allocations: 58.61 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.503e-05/0.01028, allocations: 20.84 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.01031, allocations: 12 kB / 381.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.0105, allocations: 63.33 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.0105, allocations: 0 / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006765/0.01117, allocations: 193.2 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.01123, allocations: 55.41 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.0115, allocations: 210.4 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.01153, allocations: 29.7 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.112e-05/0.01162, allocations: 104.1 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/0.01167, allocations: 27.8 kB / 382.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.417e-05/0.01172, allocations: 29.7 kB / 382.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.01193, allocations: 326.8 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.365e-05/0.012, allocations: 27.92 kB / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.874e-05/0.01208, allocations: 37.64 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.01223, allocations: 53.72 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.01223, allocations: 0 / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002316/0.01246, allocations: 113.5 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.01247, allocations: 4 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.01248, allocations: 0 / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.0125, allocations: 4.031 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.0126, allocations: 24.36 kB / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.01261, allocations: 160 / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.823e-05/0.01265, allocations: 3.938 kB / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.01267, allocations: 8 kB / 382.8 MB, free: 13.07 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.0001368/0.01281, allocations: 137.8 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.01284, allocations: 19.84 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003075/0.01315, allocations: 123 kB / 383.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01315, allocations: 0 / 383.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.01316, allocations: 4 kB / 383.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.01316, allocations: 7.984 kB / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005153/0.01368, allocations: 346.9 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.01368, allocations: 0 / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.612e-05/0.01373, allocations: 19.98 kB / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01373, allocations: 0 / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.01374, allocations: 0 / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.01374, allocations: 4 kB / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01374, allocations: 0 / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.01404, allocations: 212.2 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.682e-05/0.01408, allocations: 19.92 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.01411, allocations: 8 kB / 383.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.346e-05/0.01418, allocations: 3.938 kB / 383.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.01423, allocations: 7.984 kB / 383.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.01424, allocations: 4 kB / 383.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001695/0.01441, allocations: 159.2 kB / 383.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01441, allocations: 0 / 383.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002724/0.01469, allocations: 23.98 kB / 383.9 MB, free: 11.92 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.002302/0.01699, allocations: 488.5 kB / 384.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002256/0.01721, allocations: 67.84 kB / 384.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01722, allocations: 0 / 384.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.462e-05/0.0173, allocations: 23.98 kB / 384.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.01769, allocations: 36.09 kB / 384.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005716/0.01826, allocations: 253.3 kB / 384.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.01837, allocations: 92.8 kB / 384.9 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.904e-05/0.01843, allocations: 21.28 kB / 384.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.856e-05/0.01848, allocations: 20.48 kB / 384.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01848, allocations: 7.938 kB / 384.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of Templates: time 0.005752/0.02423, allocations: 1.861 MB / 386.8 MB, free: 9.203 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.950822429032996]