Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.001525/0.001525, 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.002183/0.002183, 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.51/1.51, allocations: 177 MB / 204.5 MB, free: 5.621 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.4502/0.4502, allocations: 34.25 MB / 295.2 MB, free: 0.668 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 377.3 MB, free: 2.832 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.771e-05, allocations: 3.859 kB / 377.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003312/0.003339, allocations: 1.712 MB / 379 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.005362, allocations: 0.9814 MB / 380 MB, free: 116 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.026e-05/0.005452, allocations: 7.938 kB / 380 MB, free: 108 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000372/0.005824, allocations: 51.7 kB / 380 MB, free: 56 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004094/0.006234, allocations: 99.52 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.006484, allocations: 79.61 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.006711, allocations: 119.5 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.006814, allocations: 4 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.006935, allocations: 51.89 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.245e-05/0.007027, allocations: 27.84 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.007049, allocations: 8 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.007164, allocations: 43.92 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.776e-05/0.007242, allocations: 27.92 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.719e-05/0.007309, allocations: 27.84 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.007593, allocations: 131.5 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.007597, allocations: 0 / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.007598, allocations: 3.938 kB / 380.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.007603, allocations: 0 / 380.7 MB, free: 15.44 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.0006849/0.008288, allocations: 369.3 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.00833, allocations: 12.03 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.334e-05/0.008403, allocations: 20.84 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.008745, allocations: 162.5 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.008762, allocations: 4.312 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.008789, allocations: 4.375 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.008958, allocations: 54.23 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.008969, allocations: 192 / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.008982, allocations: 384 / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.008989, allocations: 3.938 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.181e-05/0.009071, allocations: 23.98 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.009509, allocations: 244.5 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.009719, allocations: 66.59 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.593e-05/0.009785, allocations: 16.86 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.009804, allocations: 4 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.009986, allocations: 71.31 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.009987, allocations: 4 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006658/0.01065, allocations: 189.2 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.01071, allocations: 55.41 kB / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003313/0.01104, allocations: 271 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.01106, allocations: 33.7 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.01116, allocations: 116.1 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.01121, allocations: 27.78 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.064e-05/0.01126, allocations: 33.59 kB / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.01146, allocations: 326.8 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.886e-05/0.01153, allocations: 23.98 kB / 382.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.728e-05/0.0116, allocations: 37.7 kB / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.01173, allocations: 53.72 kB / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.01174, allocations: 0 / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002299/0.01197, allocations: 121.8 kB / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.01198, allocations: 4 kB / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.01199, allocations: 4 kB / 383 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.01201, allocations: 0 / 383 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.01211, allocations: 19.98 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.01211, allocations: 4.094 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.921e-05/0.01216, allocations: 4 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.01217, 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.0001382/0.01231, allocations: 136.4 kB / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.952e-05/0.01236, allocations: 27.88 kB / 383.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002921/0.01265, allocations: 131 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.01265, allocations: 0 / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.01266, allocations: 0 / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.01266, allocations: 0 / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000539/0.0132, allocations: 362.9 kB / 383.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.0132, allocations: 0 / 383.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.01325, allocations: 15.98 kB / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01325, allocations: 0 / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.01326, allocations: 0 / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.01326, allocations: 8.031 kB / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01326, allocations: 0 / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005638/0.01383, allocations: 220.2 kB / 383.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.558e-05/0.01385, allocations: 19.89 kB / 383.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.01388, allocations: 0 / 383.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.911e-05/0.01395, allocations: 8 kB / 383.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.014, allocations: 3.984 kB / 383.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.01402, allocations: 4 kB / 383.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002406/0.01426, allocations: 212.5 kB / 384.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01426, allocations: 0 / 384.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002712/0.01453, allocations: 31.94 kB / 384.2 MB, free: 11.69 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.002342/0.01687, allocations: 485.2 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002379/0.01711, allocations: 59.84 kB / 384.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.01711, allocations: 4.062 kB / 384.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.01722, allocations: 35.97 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.01764, allocations: 27.97 kB / 384.8 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008686/0.01851, allocations: 301.9 kB / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.0187, allocations: 108.9 kB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.213e-05/0.01877, allocations: 25.33 kB / 385.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.784e-05/0.01883, allocations: 16.5 kB / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01883, allocations: 0 / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of Templates: time 0.006108/0.02494, allocations: 1.886 MB / 387.1 MB, free: 8.898 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.962302368949167]