Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.001412/0.001412, allocations: 95.5 kB / 21.2 MB, free: 3.363 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.001232/0.001232, allocations: 156.5 kB / 24.56 MB, free: 8 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 0.993/0.993, allocations: 177 MB / 204.8 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 179] 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.2933/0.2933, allocations: 34.86 MB / 296.3 MB, free: 464 kB / 266.7 MB " [Timeout remaining time 180] 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 378.9 MB, free: 1.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.685e-05, allocations: 8.703 kB / 378.9 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002632/0.002649, allocations: 1.951 MB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.003978, allocations: 1.051 MB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.225e-05/0.00407, allocations: 0 / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.004377, allocations: 47.64 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003117/0.004688, allocations: 103.3 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.004907, allocations: 99.58 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.005104, allocations: 151.5 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.005216, allocations: 13.81 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.005323, allocations: 87.73 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.333e-05/0.005416, allocations: 35.84 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.005435, allocations: 4 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.005538, allocations: 51.91 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.005597, allocations: 23.92 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.96e-05/0.005657, allocations: 35.84 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.005878, allocations: 131.4 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.00588, allocations: 0 / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005881, allocations: 0 / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.005886, allocations: 0 / 382.6 MB, free: 14.17 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005582/0.006444, allocations: 0.4975 MB / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.006487, allocations: 8.031 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.816e-05/0.006545, allocations: 32.73 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.006737, allocations: 173.1 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.006755, allocations: 4.375 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.006778, allocations: 8.375 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.006962, allocations: 137.9 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.006972, allocations: 8.172 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.006983, allocations: 4.375 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.006993, allocations: 7.938 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.181e-05/0.007045, allocations: 31.91 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.007494, allocations: 0.5911 MB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.007695, allocations: 71.16 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.597e-05/0.007731, allocations: 19.69 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.007743, allocations: 0 / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001184/0.007861, allocations: 106.7 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.007862, allocations: 4 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002024/0.008065, allocations: 109.5 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.00809, allocations: 59.39 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.008227, allocations: 243.1 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.008242, allocations: 25.7 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.008319, allocations: 166.8 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.008343, allocations: 35.72 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.008379, allocations: 35.36 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.0085, allocations: 0.5 MB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.177e-05/0.008531, allocations: 19.98 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.7e-05/0.008578, allocations: 62.42 kB / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.551e-05/0.008664, allocations: 90.62 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.008667, allocations: 0 / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001237/0.00879, allocations: 113.5 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.008802, allocations: 4 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.008806, allocations: 4.125 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.008819, allocations: 4 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.329e-05/0.008883, allocations: 19.98 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.00889, allocations: 7.938 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.533e-05/0.008925, allocations: 11.94 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.008933, allocations: 7.938 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 7.932e-05/0.009012, allocations: 168.5 kB / 386 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.009029, allocations: 15.91 kB / 386 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.009171, allocations: 107.1 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.009173, allocations: 4 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.009177, allocations: 0 / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.009181, allocations: 0 / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.009292, allocations: 164.5 kB / 386.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.009294, allocations: 0 / 386.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/0.009344, allocations: 12 kB / 386.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.009348, allocations: 4 kB / 386.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.009359, allocations: 3.984 kB / 386.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.00936, allocations: 0 / 386.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.009362, allocations: 3.938 kB / 386.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004332/0.009795, allocations: 156.2 kB / 386.4 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.009811, allocations: 23.86 kB / 386.5 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.009829, allocations: 8 kB / 386.5 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.705e-05/0.009856, allocations: 4 kB / 386.5 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.00989, allocations: 7.984 kB / 386.5 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.009903, allocations: 4 kB / 386.5 MB, free: 9.941 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.517e-05/0.009978, allocations: 175.1 kB / 386.7 MB, free: 9.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009978, allocations: 0 / 386.7 MB, free: 9.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001535/0.01013, allocations: 24 kB / 386.7 MB, free: 9.746 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007758/0.01091, allocations: 390.6 kB / 387.1 MB, free: 9.473 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001292/0.01104, allocations: 59.55 kB / 387.1 MB, free: 9.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01104, allocations: 0 / 387.1 MB, free: 9.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.396e-05/0.01108, allocations: 31.92 kB / 387.2 MB, free: 9.375 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.01129, allocations: 43.91 kB / 387.2 MB, free: 9.332 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005621/0.01185, allocations: 257.9 kB / 387.5 MB, free: 9.055 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.848e-05/0.01189, allocations: 71.83 kB / 387.5 MB, free: 8.965 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.042e-05/0.01194, allocations: 17.47 kB / 387.5 MB, free: 8.945 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.01197, allocations: 20.5 kB / 387.6 MB, free: 8.926 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01197, allocations: 4 kB / 387.6 MB, free: 8.922 MB / 362.7 MB Notification: Performance of Templates: time 0.00386/0.01583, allocations: 2.2 MB / 389.8 MB, free: 6.75 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2731333300471306]