Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.001015/0.001015, allocations: 91.61 kB / 21.19 MB, free: 3.387 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.001099/0.001099, allocations: 164.5 kB / 24.56 MB, free: 24 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.9607/0.9607, allocations: 177 MB / 204.8 MB, free: 5.586 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.2692/0.2692, allocations: 34.87 MB / 296.3 MB, free: 492 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 378.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.909e-05, allocations: 2.312 kB / 378.9 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003573/0.003602, allocations: 1.762 MB / 380.6 MB, free: 212 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.005325, allocations: 1.016 MB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.614e-05/0.005421, allocations: 3.938 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.00578, allocations: 39.78 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000393/0.006173, allocations: 107.4 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.006447, allocations: 75.67 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.006662, allocations: 107.6 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.006763, allocations: 7.984 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.006896, allocations: 55.83 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.582e-05/0.006991, allocations: 27.91 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.007018, allocations: 8 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.007133, allocations: 43.92 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.845e-05/0.007202, allocations: 23.86 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.082e-05/0.007253, allocations: 27.86 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.007512, allocations: 99.64 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.007516, allocations: 0 / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.007518, allocations: 0 / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.007524, allocations: 0 / 382.2 MB, free: 14.57 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.0005505/0.008074, allocations: 459.8 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.008122, allocations: 8.031 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.337e-05/0.008186, allocations: 12.89 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.008388, allocations: 156.8 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.008414, allocations: 384 / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.00844, allocations: 8.375 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.008625, allocations: 66.94 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.00864, allocations: 192 / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.008654, allocations: 384 / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.008667, allocations: 3.938 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.236e-05/0.00871, allocations: 15.97 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.009059, allocations: 287.8 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.009209, allocations: 55.11 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.253e-05/0.009251, allocations: 23.67 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.009267, allocations: 0 / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.009431, allocations: 68.98 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.004e-06/0.009433, allocations: 0 / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005056/0.009939, allocations: 157.3 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.009988, allocations: 55.41 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.01015, allocations: 237.9 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.01016, allocations: 25.7 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.933e-05/0.01023, allocations: 166.8 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.01026, allocations: 27.78 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.01031, allocations: 27.38 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.01047, allocations: 0.4962 MB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.025e-05/0.0105, allocations: 11.98 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.21e-05/0.01054, allocations: 35.36 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.119e-05/0.0106, allocations: 43.38 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.0106, allocations: 0 / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001266/0.01073, allocations: 97.5 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.01074, allocations: 8.031 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.01075, allocations: 4 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.01077, allocations: 3.984 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.824e-05/0.01086, allocations: 15.94 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.01086, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.403e-05/0.0109, allocations: 11.89 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.01091, allocations: 4 kB / 384.8 MB, free: 11.79 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 8.935e-05/0.011, allocations: 162.8 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.01101, allocations: 15.89 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.01118, allocations: 107.1 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.01118, allocations: 4.375 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01119, allocations: 0 / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.01119, allocations: 4 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.01152, allocations: 400.9 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.01152, allocations: 0 / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.41e-05/0.01155, allocations: 11.98 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.01156, allocations: 4 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.01157, allocations: 0 / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.01157, allocations: 0 / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01157, allocations: 0 / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.01174, allocations: 263.5 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.379e-05/0.01175, allocations: 11.91 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.01177, allocations: 4 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.177e-05/0.01182, allocations: 0 / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.01185, allocations: 15.92 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.01187, allocations: 4 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.959e-05/0.01197, allocations: 180.2 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01197, allocations: 0 / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001753/0.01214, allocations: 27.94 kB / 386 MB, free: 10.52 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.0009982/0.01314, allocations: 438.2 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.0133, allocations: 51.55 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.0133, allocations: 0 / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.379e-05/0.01334, allocations: 31.67 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.01361, allocations: 31.97 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004778/0.01409, allocations: 233.7 kB / 386.8 MB, free: 9.832 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.031e-05/0.01415, allocations: 71.33 kB / 386.8 MB, free: 9.742 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.802e-05/0.0142, allocations: 25.39 kB / 386.9 MB, free: 9.715 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.01424, allocations: 20.48 kB / 386.9 MB, free: 9.695 MB / 362.7 MB Notification: Performance of SimCode: time 4.7e-07/0.01424, allocations: 0 / 386.9 MB, free: 9.695 MB / 362.7 MB Notification: Performance of Templates: time 0.00553/0.01977, allocations: 1.993 MB / 388.9 MB, free: 7.723 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.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.0999264628626406]