Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.001099/0.001099, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.001156/0.001156, allocations: 156.5 kB / 24.55 MB, free: 16 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.9919/0.9919, 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.2824/0.2824, allocations: 34.87 MB / 296.3 MB, free: 0.5547 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 378.8 MB, free: 2.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.694e-05/2.862e-05, allocations: 11.09 kB / 378.9 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003243/0.003271, allocations: 1.768 MB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.005019, allocations: 1.016 MB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.246e-05/0.005112, allocations: 0 / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003555/0.005467, allocations: 59.62 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003697/0.005837, allocations: 107.5 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.006056, allocations: 75.61 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.006246, allocations: 115.6 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.006345, allocations: 7.984 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.006447, allocations: 43.91 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.91e-05/0.006536, allocations: 31.84 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.006558, allocations: 4 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.006664, allocations: 43.92 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.493e-05/0.006739, allocations: 35.89 kB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.07e-05/0.006789, allocations: 19.88 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.007027, allocations: 115.6 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.007032, allocations: 7.922 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.007033, allocations: 0 / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.007037, allocations: 0 / 382.3 MB, free: 14.55 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.0005739/0.007611, allocations: 471.6 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.007656, allocations: 12.03 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.56e-05/0.007711, allocations: 16.84 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.007932, allocations: 165.2 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.007958, allocations: 4.375 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.007988, allocations: 4.312 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.008129, allocations: 66.94 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.008142, allocations: 4.172 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.008152, allocations: 384 / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.008163, allocations: 7.938 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.167e-05/0.008205, allocations: 4 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.008562, allocations: 303.8 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.008683, allocations: 51.11 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.874e-05/0.008721, allocations: 23.67 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.008738, allocations: 4 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/0.008848, allocations: 68.98 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.00885, allocations: 0 / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004445/0.009294, allocations: 169.2 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.009328, allocations: 51.41 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.009538, allocations: 273.6 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.009555, allocations: 29.7 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.774e-05/0.009632, allocations: 162.9 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.009664, allocations: 31.72 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.009706, allocations: 27.38 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.009857, allocations: 0.5118 MB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.428e-05/0.009892, allocations: 11.94 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.621e-05/0.009938, allocations: 35.36 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.632e-05/0.01, allocations: 43.38 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.01001, allocations: 0 / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001422/0.01015, allocations: 105.4 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.01016, allocations: 8 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.01017, allocations: 384 / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.01018, allocations: 0 / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.252e-05/0.01027, allocations: 16.03 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.01028, allocations: 11.98 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.541e-05/0.01031, allocations: 3.938 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.01032, allocations: 4 kB / 385 MB, free: 11.66 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.064e-05/0.0104, allocations: 160.6 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.01043, allocations: 19.84 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.01061, allocations: 119.1 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01062, allocations: 0 / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.01062, allocations: 0 / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.01062, allocations: 0 / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003612/0.01098, allocations: 409 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01099, allocations: 0 / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.559e-05/0.01102, allocations: 12 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.01102, allocations: 3.984 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.01103, allocations: 4 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01104, allocations: 0 / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01104, allocations: 4 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.01123, allocations: 263.4 kB / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.631e-05/0.01124, allocations: 11.91 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.01126, allocations: 4 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.489e-05/0.01133, allocations: 8.031 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.01137, allocations: 7.984 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.01138, allocations: 4 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001279/0.01151, allocations: 196.5 kB / 386.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01151, allocations: 0 / 386.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002728/0.01179, allocations: 31.88 kB / 386.2 MB, free: 10.34 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.001275/0.01306, allocations: 433.6 kB / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.01322, allocations: 59.53 kB / 386.7 MB, free: 9.984 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01322, allocations: 4.062 kB / 386.7 MB, free: 9.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.257e-05/0.01327, allocations: 31.67 kB / 386.7 MB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.01361, allocations: 27.98 kB / 386.7 MB, free: 9.918 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004678/0.01407, allocations: 262.4 kB / 387 MB, free: 9.629 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.603e-05/0.01413, allocations: 71.33 kB / 387.1 MB, free: 9.539 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.255e-05/0.01417, allocations: 17.27 kB / 387.1 MB, free: 9.523 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.01421, allocations: 24.56 kB / 387.1 MB, free: 9.5 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01421, allocations: 0 / 387.1 MB, free: 9.5 MB / 362.7 MB Notification: Performance of Templates: time 0.004195/0.0184, allocations: 1.89 MB / 389 MB, free: 7.637 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.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.35980978095904]