Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.0009164/0.0009164, allocations: 81.91 kB / 21.42 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.0009148/0.0009148, allocations: 166.3 kB / 24.82 MB, free: 9.312 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.018/1.018, allocations: 177 MB / 205.1 MB, free: 5.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.2626/0.2626, allocations: 34.86 MB / 296.6 MB, free: 0.5312 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 379.3 MB, free: 1.762 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.676e-05, allocations: 2.312 kB / 379.3 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.00199/0.002007, allocations: 1.714 MB / 381 MB, free: 32 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.00314, allocations: 0.9812 MB / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.777e-05/0.003208, allocations: 0 / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.003473, allocations: 63.72 kB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.00372, allocations: 119.4 kB / 382.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.003859, allocations: 75.67 kB / 382.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.004002, allocations: 107.6 kB / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.00404, allocations: 8.219 kB / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.741e-05/0.004128, allocations: 55.81 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.034e-05/0.004218, allocations: 43.89 kB / 382.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.004231, allocations: 4 kB / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.011e-05/0.004291, allocations: 35.92 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.507e-05/0.004336, allocations: 23.86 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.004369, allocations: 15.94 kB / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.004511, allocations: 91.66 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.004513, allocations: 0 / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.004514, allocations: 0 / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.004518, allocations: 0 / 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.0003916/0.00491, allocations: 443.9 kB / 383.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.004945, allocations: 12.03 kB / 383.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.004976, allocations: 12.84 kB / 383.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.005107, allocations: 149.1 kB / 383.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.005121, allocations: 384 / 383.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.00513, allocations: 4.375 kB / 383.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.998e-05/0.00523, allocations: 66.88 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.005238, allocations: 192 / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.022e-06/0.005244, allocations: 384 / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.00525, allocations: 7.875 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.2e-05/0.005273, allocations: 4 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000117/0.005389, allocations: 121.2 kB / 383.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.053e-05/0.00547, allocations: 39.11 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.026e-05/0.00549, allocations: 11.69 kB / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.005506, allocations: 4 kB / 383.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.82e-05/0.005594, allocations: 72.98 kB / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.005595, allocations: 0 / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001511/0.005746, allocations: 81.58 kB / 383.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.005776, allocations: 51.41 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.005901, allocations: 234.2 kB / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.005915, allocations: 25.7 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.14e-05/0.005987, allocations: 158.8 kB / 384.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.006014, allocations: 15.83 kB / 384.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.006042, allocations: 27.38 kB / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.006194, allocations: 0.4962 MB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.82e-05/0.006212, allocations: 11.98 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.639e-05/0.006239, allocations: 27.36 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.843e-05/0.006277, allocations: 31.36 kB / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.006279, allocations: 4 kB / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.371e-05/0.006352, allocations: 65.58 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.006364, allocations: 4 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.006368, allocations: 320 / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.006381, allocations: 4 kB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.257e-05/0.006433, allocations: 12 kB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.006437, allocations: 7.969 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.8e-05/0.006465, allocations: 7.953 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.00647, allocations: 4 kB / 384.8 MB, free: 12.01 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 7.062e-05/0.006541, allocations: 164.5 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/0.006552, allocations: 7.953 kB / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.006653, allocations: 82.83 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.006655, allocations: 0 / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.006656, allocations: 0 / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.00666, allocations: 7.922 kB / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.175e-05/0.006742, allocations: 121.2 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.006743, allocations: 4 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.607e-05/0.006759, allocations: 7.938 kB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.00676, allocations: 4 kB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-06/0.006764, allocations: 0 / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.006765, allocations: 0 / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.006766, allocations: 3.938 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.458e-05/0.006851, allocations: 116.3 kB / 385.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-06/0.006861, allocations: 7.953 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.006875, allocations: 4 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.943e-05/0.006895, allocations: 0 / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/0.006917, allocations: 15.98 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.006925, allocations: 0 / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001356/0.007061, allocations: 159.1 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007061, allocations: 0 / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001328/0.007194, allocations: 23.92 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.0007182/0.007912, allocations: 381 kB / 385.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.953e-05/0.007991, allocations: 39.61 kB / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.007992, allocations: 0 / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.885e-05/0.008021, allocations: 15.69 kB / 386 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.008187, allocations: 35.59 kB / 386 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.008443, allocations: 198.1 kB / 386.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.107e-05/0.008474, allocations: 71.41 kB / 386.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.686e-05/0.008501, allocations: 12.47 kB / 386.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.755e-05/0.008558, allocations: 86.19 kB / 386.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.008559, allocations: 0 / 386.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of Templates: time 0.003169/0.01173, allocations: 1.775 MB / 388.1 MB, free: 8.715 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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.9914546911604702]