Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.001462/0.001462, allocations: 96.27 kB / 20.96 MB, free: 3.582 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.001547/0.001547, allocations: 156.8 kB / 24.26 MB, free: 284 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 1.498/1.498, allocations: 177 MB / 204.5 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3521/0.3521, allocations: 34.25 MB / 295.2 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 377.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.017e-05/3.17e-05, allocations: 4.984 kB / 377.3 MB, free: 2.824 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003411/0.003443, allocations: 1.714 MB / 379 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002913/0.006356, allocations: 1.683 MB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.578e-05/0.006422, allocations: 0 / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.006718, allocations: 47.64 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003628/0.007081, allocations: 103.5 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.007315, allocations: 79.59 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.007519, allocations: 115.6 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.936e-05/0.007598, allocations: 7.984 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.007726, allocations: 67.77 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.007851, allocations: 35.89 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.007875, allocations: 8 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.008085, allocations: 107.9 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.244e-05/0.008137, allocations: 15.92 kB / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.008192, allocations: 27.92 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000341/0.008533, allocations: 199.3 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.008537, allocations: 0 / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.008538, allocations: 0 / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.008543, allocations: 0 / 381.5 MB, free: 14.61 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006497/0.009193, allocations: 353.4 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.009234, allocations: 12.03 kB / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.92e-05/0.009303, allocations: 12.84 kB / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.009626, allocations: 165.3 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.009645, allocations: 8.312 kB / 382 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.009673, allocations: 8.375 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.009904, allocations: 105.6 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.009915, allocations: 192 / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.009929, allocations: 4.375 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.009935, allocations: 3.938 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.01004, allocations: 35.97 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.01048, allocations: 240.5 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.01071, allocations: 74.61 kB / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.383e-05/0.01078, allocations: 20.84 kB / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.0108, allocations: 8 kB / 382.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.01099, allocations: 79.31 kB / 382.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.01099, allocations: 0 / 382.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006968/0.01168, allocations: 221.6 kB / 382.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/0.01175, allocations: 77.11 kB / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.01197, allocations: 175 kB / 383.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.01201, allocations: 33.69 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.826e-05/0.01209, allocations: 96.14 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.01214, allocations: 35.73 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.328e-05/0.01219, allocations: 25.72 kB / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.01237, allocations: 318.8 kB / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.889e-05/0.01245, allocations: 35.92 kB / 383.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.01257, allocations: 80.19 kB / 383.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.01273, allocations: 77.67 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.01273, allocations: 0 / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002576/0.01299, allocations: 125.5 kB / 383.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.01301, allocations: 4 kB / 383.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.01301, allocations: 64 / 383.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.01303, allocations: 4 kB / 383.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.01314, allocations: 23.98 kB / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.01314, allocations: 160 / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.484e-05/0.0132, allocations: 4 kB / 383.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.01321, allocations: 11.92 kB / 383.9 MB, free: 11.96 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 (11): * Single equations (assignments): 11 * 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.0001304/0.01334, allocations: 125.8 kB / 384 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.01338, allocations: 15.84 kB / 384.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003278/0.01371, allocations: 146.4 kB / 384.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01371, allocations: 0 / 384.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.01372, allocations: 4 kB / 384.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.01372, allocations: 0 / 384.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005885/0.01431, allocations: 378.8 kB / 384.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01431, allocations: 0 / 384.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.54e-05/0.01437, allocations: 12 kB / 384.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.01437, allocations: 4 kB / 384.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.01439, allocations: 7.984 kB / 384.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01439, allocations: 0 / 384.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01439, allocations: 0 / 384.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.01474, allocations: 240.2 kB / 384.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.01477, allocations: 11.95 kB / 384.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.0148, allocations: 11.94 kB / 384.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.74e-05/0.01489, allocations: 7.984 kB / 384.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.01493, allocations: 4 kB / 384.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.01496, allocations: 11.98 kB / 384.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001512/0.01511, allocations: 132.1 kB / 385 MB, free: 10.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01511, allocations: 0 / 385 MB, free: 10.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003261/0.01543, allocations: 55.86 kB / 385.1 MB, free: 10.74 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 (11): * Single equations (assignments): 9 * 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.002557/0.01799, allocations: 0.5818 MB / 385.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000239/0.01823, allocations: 71.84 kB / 385.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01823, allocations: 0 / 385.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.01833, allocations: 39.92 kB / 385.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.0187, allocations: 39.86 kB / 385.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005616/0.01927, allocations: 241.5 kB / 386 MB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.01938, allocations: 96.28 kB / 386.1 MB, free: 9.832 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.859e-05/0.01945, allocations: 16.64 kB / 386.1 MB, free: 9.816 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.009e-05/0.01951, allocations: 24.48 kB / 386.2 MB, free: 9.793 MB / 362.7 MB Notification: Performance of SimCode: time 4e-07/0.01951, allocations: 0 / 386.2 MB, free: 9.793 MB / 362.7 MB Notification: Performance of Templates: time 0.00708/0.02659, allocations: 2.667 MB / 388.8 MB, free: 7.156 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.864185333950445]