Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.001077/0.001077, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.000992/0.000992, allocations: 160.5 kB / 24.55 MB, free: 20 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.9621/0.9621, allocations: 177 MB / 204.8 MB, free: 5.57 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.2708/0.2708, allocations: 34.87 MB / 296.3 MB, free: 0.5352 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 378.8 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.058e-05, allocations: 4.844 kB / 378.8 MB, free: 2 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.005833/0.005853, allocations: 1.844 MB / 380.7 MB, free: 144 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005067/0.01092, allocations: 1.804 MB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.701e-05/0.01101, allocations: 7.938 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.01131, allocations: 51.62 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003992/0.01171, allocations: 147.2 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.0119, allocations: 111.6 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.01215, allocations: 207.2 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.791e-05/0.01219, allocations: 5.812 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.01234, allocations: 111.7 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.01249, allocations: 63.8 kB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.01251, allocations: 16 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.01268, allocations: 103.8 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.634e-05/0.01275, allocations: 43.83 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.312e-05/0.0128, allocations: 31.86 kB / 383.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.0131, allocations: 207.2 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.0131, allocations: 0 / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.0131, allocations: 3.984 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.01311, allocations: 0 / 383.6 MB, free: 13.23 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.003609/0.01672, allocations: 0.5109 MB / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.01676, allocations: 12.03 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.236e-05/0.01683, allocations: 24.8 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.0171, allocations: 192.3 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.01713, allocations: 4.375 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.01715, allocations: 4.375 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.01738, allocations: 169 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.01739, allocations: 192 / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.01741, allocations: 4.359 kB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.01742, allocations: 7.938 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.227e-05/0.01748, allocations: 19.98 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/0.01769, allocations: 176.3 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.01788, allocations: 98.16 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.844e-05/0.01794, allocations: 31.36 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.01796, allocations: 8 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.01812, allocations: 108.3 kB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.01813, allocations: 0 / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003403/0.01847, allocations: 137.5 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.01853, allocations: 140.5 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.01879, allocations: 282.7 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.01881, allocations: 29.7 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.01889, allocations: 162.9 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.01893, allocations: 31.78 kB / 385.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/0.01898, allocations: 31.38 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.01913, allocations: 0.5039 MB / 386.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.123e-05/0.01917, allocations: 16 kB / 386.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002846/0.02201, allocations: 125.5 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.02211, allocations: 82.72 kB / 386.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.02212, allocations: 0 / 386.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001844/0.0223, allocations: 126 kB / 386.6 MB, free: 9.895 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.02232, allocations: 8 kB / 386.6 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.02232, allocations: 0 / 386.6 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.02234, allocations: 4 kB / 386.6 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.649e-05/0.02244, allocations: 23.92 kB / 386.6 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.02244, allocations: 0 / 386.6 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.93e-05/0.0225, allocations: 11.98 kB / 386.6 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.02251, allocations: 12.06 kB / 386.6 MB, free: 9.836 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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.000103/0.02262, allocations: 164.5 kB / 386.8 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.02265, allocations: 23.86 kB / 386.8 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.02289, allocations: 138.7 kB / 387 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.02289, allocations: 4 kB / 387 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.0229, allocations: 3.938 kB / 387 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.0229, allocations: 0 / 387 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004701/0.02337, allocations: 172.5 kB / 387.1 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.02337, allocations: 0 / 387.1 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.932e-05/0.02341, allocations: 12 kB / 387.1 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.02342, allocations: 3.984 kB / 387.1 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.02343, allocations: 4 kB / 387.1 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.02343, allocations: 0 / 387.1 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.02343, allocations: 0 / 387.1 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.02365, allocations: 191.8 kB / 387.3 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.02367, allocations: 11.91 kB / 387.3 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.0237, allocations: 11.98 kB / 387.4 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.71e-05/0.02375, allocations: 4.188 kB / 387.4 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.0238, allocations: 19.91 kB / 387.4 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.02382, allocations: 8 kB / 387.4 MB, free: 9.004 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001426/0.02396, allocations: 205.8 kB / 387.6 MB, free: 8.805 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02396, allocations: 0 / 387.6 MB, free: 8.805 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002799/0.02424, allocations: 55.86 kB / 387.6 MB, free: 8.75 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001038/0.02528, allocations: 497.2 kB / 388.1 MB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.02542, allocations: 71.53 kB / 388.2 MB, free: 8.328 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.02542, allocations: 0 / 388.2 MB, free: 8.328 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.22e-05/0.02547, allocations: 43.66 kB / 388.2 MB, free: 8.281 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.0257, allocations: 61.08 kB / 388.3 MB, free: 8.223 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004082/0.02611, allocations: 282.2 kB / 388.6 MB, free: 7.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.942e-05/0.02615, allocations: 75.98 kB / 388.7 MB, free: 7.816 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.831e-05/0.02621, allocations: 37.58 kB / 388.7 MB, free: 7.781 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.793e-05/0.02626, allocations: 28.48 kB / 388.7 MB, free: 7.754 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02626, allocations: 0 / 388.7 MB, free: 7.754 MB / 362.7 MB Notification: Performance of Templates: time 0.008213/0.03447, allocations: 3.445 MB / 392.2 MB, free: 4.363 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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.3952182438224554]