Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.001175/0.001175, allocations: 88.25 kB / 22.22 MB, free: 2.281 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.001485/0.001485, allocations: 169.2 kB / 25.61 MB, free: 8.902 MB / 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.039/1.039, allocations: 177 MB / 205.9 MB, free: 4.449 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.1415/0.1415, allocations: 34.88 MB / 297.4 MB, free: 13.42 MB / 282.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.21e-07/7.21e-07, allocations: 0 / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.889e-06/1.061e-05, allocations: 4.062 kB / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.001752/0.001763, allocations: 1.939 MB / 382 MB, free: 20.72 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009339/0.002696, allocations: 1.03 MB / 383.1 MB, free: 19.69 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.123e-05/0.002768, allocations: 3.938 kB / 383.1 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001915/0.002959, allocations: 47.64 kB / 383.1 MB, free: 19.64 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.003138, allocations: 111.3 kB / 383.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001189/0.003257, allocations: 95.64 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.003382, allocations: 147.5 kB / 383.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.09e-05/0.003453, allocations: 25.8 kB / 383.5 MB, free: 19.26 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.634e-05/0.003519, allocations: 75.8 kB / 383.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.066e-05/0.00358, allocations: 35.84 kB / 383.6 MB, free: 19.15 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.003593, allocations: 11.94 kB / 383.6 MB, free: 19.14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.577e-05/0.003649, allocations: 51.91 kB / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.444e-05/0.003683, allocations: 27.86 kB / 383.7 MB, free: 19.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.003713, allocations: 31.91 kB / 383.7 MB, free: 19.03 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.003841, allocations: 123.6 kB / 383.8 MB, free: 18.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.312e-06/0.003842, allocations: 0 / 383.8 MB, free: 18.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.003843, allocations: 0 / 383.8 MB, free: 18.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.946e-06/0.003846, allocations: 0 / 383.8 MB, free: 18.91 MB / 314.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.0003302/0.004176, allocations: 0.509 MB / 384.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.335e-05/0.004199, allocations: 8.031 kB / 384.3 MB, free: 18.35 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.004233, allocations: 24.84 kB / 384.4 MB, free: 18.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.004359, allocations: 177.1 kB / 384.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.004373, allocations: 8.375 kB / 384.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.004388, allocations: 8.375 kB / 384.6 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.0045, allocations: 139.6 kB / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.004508, allocations: 192 / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.004515, allocations: 384 / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.004521, allocations: 7.938 kB / 384.7 MB, free: 17.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.153e-05/0.004553, allocations: 23.92 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002663/0.004819, allocations: 0.5411 MB / 385.3 MB, free: 17.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.004956, allocations: 83.02 kB / 385.3 MB, free: 17.24 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.171e-05/0.004977, allocations: 19.69 kB / 385.4 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.004988, allocations: 4 kB / 385.4 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.655e-05/0.005064, allocations: 98.72 kB / 385.5 MB, free: 17.1 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.005065, allocations: 3.938 kB / 385.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001423/0.005207, allocations: 101.5 kB / 385.6 MB, free: 16.99 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.804e-05/0.005225, allocations: 59.41 kB / 385.6 MB, free: 16.92 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.066e-05/0.005306, allocations: 240.9 kB / 385.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.005315, allocations: 29.7 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.005355, allocations: 170.7 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.005369, allocations: 31.77 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.005396, allocations: 31.38 kB / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.11e-05/0.005437, allocations: 0.504 MB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/0.00545, allocations: 4 kB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.574e-05/0.005476, allocations: 65.78 kB / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.668e-05/0.005523, allocations: 82.66 kB / 386.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.005526, allocations: 11.94 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.522e-05/0.005611, allocations: 113.3 kB / 386.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.687e-06/0.00562, allocations: 5.562 kB / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.005623, allocations: 3.938 kB / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.005633, allocations: 4 kB / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.552e-05/0.005688, allocations: 19.98 kB / 386.9 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.005691, allocations: 7.984 kB / 386.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.027e-05/0.005722, allocations: 11.94 kB / 386.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.005728, allocations: 8.125 kB / 387 MB, free: 15.5 MB / 314.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 4.475e-05/0.005772, allocations: 168.5 kB / 387.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.005787, allocations: 19.89 kB / 387.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.391e-05/0.005881, allocations: 103.1 kB / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.005883, allocations: 0 / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.005884, allocations: 0 / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.005887, allocations: 0 / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.232e-05/0.00595, allocations: 133.2 kB / 387.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.005951, allocations: 0 / 387.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.794e-05/0.005989, allocations: 12 kB / 387.4 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.00599, allocations: 7.938 kB / 387.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.005997, allocations: 4 kB / 387.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.005998, allocations: 4 kB / 387.4 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.005999, allocations: 4 kB / 387.4 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.006102, allocations: 144.2 kB / 387.5 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.113e-05/0.006113, allocations: 19.84 kB / 387.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.006127, allocations: 7.984 kB / 387.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.419e-05/0.006151, allocations: 4 kB / 387.6 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.037e-05/0.006172, allocations: 7.984 kB / 387.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.00618, allocations: 4 kB / 387.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.727e-05/0.006217, allocations: 171.1 kB / 387.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006217, allocations: 0 / 387.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001394/0.006356, allocations: 27.94 kB / 387.8 MB, free: 14.61 MB / 314.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.0007117/0.007068, allocations: 387.1 kB / 388.2 MB, free: 14.37 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.166e-05/0.00715, allocations: 55.59 kB / 388.2 MB, free: 14.31 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.007151, allocations: 0 / 388.2 MB, free: 14.31 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.753e-05/0.007178, allocations: 31.61 kB / 388.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.007339, allocations: 37.84 kB / 388.3 MB, free: 14.24 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002446/0.007584, allocations: 265.7 kB / 388.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.832e-05/0.007612, allocations: 72.08 kB / 388.6 MB, free: 13.87 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.549e-05/0.007647, allocations: 21.47 kB / 388.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.94e-05/0.007707, allocations: 94.19 kB / 388.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.007707, allocations: 0 / 388.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of Templates: time 0.003089/0.0108, allocations: 2.279 MB / 391 MB, free: 11.52 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.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.3929449999704957]