Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.001851/0.001851, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002236/0.002236, 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.668/1.668, allocations: 177 MB / 204.4 MB, free: 5.613 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.449/0.449, allocations: 34.26 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.134e-05/3.312e-05, allocations: 2.312 kB / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003615/0.003648, allocations: 1.738 MB / 379 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.005718, allocations: 0.9814 MB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.895e-05/0.005797, allocations: 7.938 kB / 380 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004295/0.006226, allocations: 103.6 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003946/0.006621, allocations: 123.5 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.006875, allocations: 87.59 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.007126, allocations: 143.5 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.007226, allocations: 11.94 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.00737, allocations: 75.8 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.007505, allocations: 63.86 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.007534, allocations: 4 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.007673, allocations: 63.91 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.508e-05/0.007748, allocations: 35.84 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.951e-05/0.007808, allocations: 19.94 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.00813, allocations: 159.4 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.008136, allocations: 0 / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.008138, allocations: 0 / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.008144, allocations: 0 / 380.9 MB, free: 15.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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001033/0.009177, allocations: 385.3 kB / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.00922, allocations: 8.031 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.31e-05/0.009304, allocations: 20.84 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.009663, allocations: 170.4 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.009689, allocations: 16.36 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.009717, allocations: 384 / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.009914, allocations: 66.22 kB / 381.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.009932, allocations: 4.188 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.009944, allocations: 384 / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.009953, allocations: 7.938 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.01008, allocations: 43.91 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000481/0.01056, allocations: 256.5 kB / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.01087, allocations: 70.53 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.721e-05/0.01096, allocations: 32.83 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.01099, allocations: 8.031 kB / 382 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.01117, allocations: 83.45 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.01117, allocations: 0 / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009774/0.01215, allocations: 285.7 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.01221, allocations: 63.33 kB / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003296/0.01254, allocations: 263.8 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.01256, allocations: 25.7 kB / 382.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.01267, allocations: 116.1 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.97e-05/0.01273, allocations: 43.69 kB / 382.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-05/0.01279, allocations: 25.72 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000222/0.01301, allocations: 330.8 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.772e-05/0.0131, allocations: 31.98 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.01321, allocations: 61.14 kB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.01341, allocations: 97.62 kB / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.01341, allocations: 0 / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003132/0.01372, allocations: 157.5 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.01374, allocations: 4 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.01375, allocations: 4 kB / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.01377, allocations: 0 / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.01388, allocations: 23.98 kB / 383.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.01389, allocations: 0 / 383.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.035e-05/0.01394, allocations: 4.031 kB / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.01396, allocations: 11.98 kB / 383.6 MB, free: 12.33 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 (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.0001591/0.01412, allocations: 141.7 kB / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.013e-05/0.01416, allocations: 19.91 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000401/0.01456, allocations: 183 kB / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.01457, allocations: 3.984 kB / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.01457, allocations: 0 / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01457, allocations: 0 / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007165/0.01529, allocations: 435.7 kB / 384.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.0153, allocations: 3.984 kB / 384.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.057e-05/0.01537, allocations: 20 kB / 384.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01537, allocations: 0 / 384.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.01539, allocations: 8 kB / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01539, allocations: 0 / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/0.0154, allocations: 7.984 kB / 384.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004205/0.01582, allocations: 273 kB / 384.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.481e-05/0.01585, allocations: 11.91 kB / 384.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.01588, allocations: 8 kB / 384.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-05/0.01597, allocations: 4.031 kB / 384.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.01603, allocations: 23.91 kB / 384.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.01605, allocations: 4 kB / 384.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002235/0.01627, allocations: 197.5 kB / 384.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01627, allocations: 0 / 384.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003063/0.01658, allocations: 35.92 kB / 384.9 MB, free: 10.91 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 (14): * Single equations (assignments): 12 * 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.002633/0.01921, allocations: 0.5449 MB / 385.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002937/0.01951, allocations: 91.89 kB / 385.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.01951, allocations: 4.062 kB / 385.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.01962, allocations: 43.92 kB / 385.6 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.02005, allocations: 35.97 kB / 385.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007393/0.02079, allocations: 338.6 kB / 386 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.02093, allocations: 110.8 kB / 386.1 MB, free: 9.891 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.604e-05/0.02101, allocations: 25.25 kB / 386.1 MB, free: 9.867 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.887e-05/0.02108, allocations: 28.44 kB / 386.1 MB, free: 9.84 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02108, allocations: 0 / 386.1 MB, free: 9.84 MB / 362.7 MB Notification: Performance of Templates: time 0.006498/0.02758, allocations: 2.259 MB / 388.4 MB, free: 7.605 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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: 5.098691205959767]