Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.001295/0.001295, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001004/0.001004, allocations: 168.1 kB / 24.82 MB, free: 9.277 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 0.9712/0.9712, allocations: 177 MB / 205.1 MB, free: 5.473 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.2471/0.2471, allocations: 34.87 MB / 296.6 MB, free: 0.5156 MB / 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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 0 / 379.3 MB, free: 1.762 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.404e-05, allocations: 2.312 kB / 379.3 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.001891/0.001905, allocations: 1.712 MB / 381 MB, free: 32 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.002968, allocations: 0.9812 MB / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.368e-05/0.003032, allocations: 0 / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.003298, allocations: 67.67 kB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.003574, allocations: 111.5 kB / 382.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.003947, allocations: 75.66 kB / 382.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.00408, allocations: 115.5 kB / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.26e-05/0.004113, allocations: 4.234 kB / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.207e-05/0.004195, allocations: 55.89 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.995e-05/0.004275, allocations: 47.81 kB / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.00429, allocations: 4 kB / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.89e-05/0.004349, allocations: 27.94 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.004389, allocations: 23.91 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.004427, allocations: 19.92 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.004562, allocations: 87.67 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.004565, allocations: 4 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004566, allocations: 0 / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.076e-06/0.004569, allocations: 4 kB / 382.6 MB, free: 14.41 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000349/0.004918, allocations: 439.8 kB / 383.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.004967, allocations: 8.031 kB / 383.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.005008, allocations: 16.84 kB / 383.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.005153, allocations: 153.1 kB / 383.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.005168, allocations: 4.375 kB / 383.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.005175, allocations: 4.375 kB / 383.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.005276, allocations: 62.88 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.005283, allocations: 192 / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-06/0.005289, allocations: 384 / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.005296, allocations: 3.938 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.186e-05/0.005318, allocations: 11.98 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001197/0.005438, allocations: 109.3 kB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.423e-05/0.005512, allocations: 47.09 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.184e-05/0.005534, allocations: 19.67 kB / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.005547, allocations: 0 / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.95e-05/0.005626, allocations: 68.98 kB / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 7.82e-07/0.005627, allocations: 0 / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001442/0.005771, allocations: 81.58 kB / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.005794, allocations: 51.41 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.005902, allocations: 230.3 kB / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.005914, allocations: 25.7 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/0.005962, allocations: 158.8 kB / 384.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.005989, allocations: 19.84 kB / 384.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.006015, allocations: 23.36 kB / 384.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.006119, allocations: 0.5001 MB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.164e-05/0.006131, allocations: 8.25 kB / 384.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.096e-05/0.006152, allocations: 27.36 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.512e-05/0.006187, allocations: 39.36 kB / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.006188, allocations: 0 / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.117e-05/0.00625, allocations: 65.58 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.00626, allocations: 8 kB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.006264, allocations: 0 / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.006273, allocations: 0 / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.27e-05/0.006326, allocations: 15.92 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.006329, allocations: 7.969 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.744e-05/0.006356, allocations: 11.95 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.00636, allocations: 4 kB / 384.8 MB, free: 12 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 (7): * Single equations (assignments): 7 * 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 6.013e-05/0.006421, allocations: 157.1 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.006432, allocations: 11.95 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.024e-05/0.006523, allocations: 78.83 kB / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.006524, allocations: 0 / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.006526, allocations: 3.984 kB / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.00653, allocations: 3.938 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.042e-05/0.0066, allocations: 117.2 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.006601, allocations: 4 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.271e-05/0.006614, allocations: 4 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.006615, allocations: 0 / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-06/0.006619, allocations: 0 / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.006621, allocations: 3.984 kB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.006621, allocations: 8.062 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.644e-05/0.006698, allocations: 124.2 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.006708, allocations: 7.953 kB / 385.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.00672, allocations: 3.984 kB / 385.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.862e-05/0.006739, allocations: 4 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.006757, allocations: 8 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.006765, allocations: 4 kB / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.408e-05/0.006819, allocations: 163.1 kB / 385.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006819, allocations: 0 / 385.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000127/0.006946, allocations: 15.94 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007112/0.007657, allocations: 379.9 kB / 385.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.599e-05/0.007723, allocations: 35.61 kB / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.007724, allocations: 0 / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.597e-05/0.00775, allocations: 27.67 kB / 386 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.007899, allocations: 27.42 kB / 386 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002525/0.008152, allocations: 202.1 kB / 386.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.468e-05/0.008186, allocations: 71.39 kB / 386.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.415e-05/0.00822, allocations: 12.48 kB / 386.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.698e-05/0.008277, allocations: 82.19 kB / 386.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.008278, allocations: 4 kB / 386.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of Templates: time 0.002915/0.01119, allocations: 1.774 MB / 388.1 MB, free: 8.711 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.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: 2.9300862457603216]