Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.001416/0.001416, allocations: 92.27 kB / 20.96 MB, free: 3.445 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.001643/0.001643, allocations: 152.9 kB / 24.26 MB, free: 148 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.568/1.568, allocations: 177 MB / 204.5 MB, free: 5.605 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.4626/0.4626, allocations: 34.24 MB / 295.2 MB, free: 0.6797 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.505e-05/4.757e-05, allocations: 2.312 kB / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.005986/0.006034, allocations: 1.736 MB / 379 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003645/0.009679, allocations: 0.984 MB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.00978, allocations: 7.875 kB / 380 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000564/0.01034, allocations: 83.84 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006382/0.01098, allocations: 115.5 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004347/0.01142, allocations: 79.61 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003534/0.01177, allocations: 131.5 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.01191, allocations: 11.94 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.01212, allocations: 71.8 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.01233, allocations: 51.88 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.01236, allocations: 4 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002075/0.01257, allocations: 63.92 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.468e-05/0.01266, allocations: 27.84 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.728e-05/0.01276, allocations: 27.92 kB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004246/0.01318, allocations: 131.5 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.01319, allocations: 0 / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.01319, allocations: 3.938 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.0132, allocations: 0 / 380.8 MB, free: 15.27 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.0009833/0.01418, allocations: 365.4 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.01424, allocations: 8.031 kB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.01435, allocations: 20.84 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.01486, allocations: 161.5 kB / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.01488, allocations: 384 / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.01493, allocations: 8.375 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.01521, allocations: 62.22 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.01523, allocations: 192 / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.01524, allocations: 384 / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.01526, allocations: 11.94 kB / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.01542, allocations: 23.98 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006806/0.0161, allocations: 240.5 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004475/0.01655, allocations: 62.55 kB / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.01667, allocations: 20.98 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.01669, allocations: 0 / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002909/0.01698, allocations: 75.31 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.01698, allocations: 0 / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.001436/0.01842, allocations: 265.6 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.394e-05/0.01849, allocations: 55.41 kB / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004508/0.01894, allocations: 223.5 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.826e-05/0.01899, allocations: 29.7 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.01912, allocations: 108.1 kB / 382.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.871e-05/0.0192, allocations: 39.7 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.694e-05/0.01929, allocations: 25.7 kB / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002817/0.01957, allocations: 326.8 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.0197, allocations: 27.98 kB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.01985, allocations: 45.7 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.02016, allocations: 89.58 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.02016, allocations: 0 / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004947/0.02065, allocations: 137.5 kB / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.02068, allocations: 11.94 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.02069, allocations: 0 / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.401e-05/0.02073, allocations: 7.969 kB / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.02088, allocations: 16 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.02089, allocations: 4 kB / 383.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.189e-05/0.02099, allocations: 3.984 kB / 383.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.02102, allocations: 8 kB / 383.3 MB, free: 12.64 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 (13): * Single equations (assignments): 13 * 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.0002112/0.02123, allocations: 129.8 kB / 383.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.02129, allocations: 19.89 kB / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006057/0.0219, allocations: 163 kB / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.0219, allocations: 0 / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.02192, allocations: 3.984 kB / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.02192, allocations: 0 / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.02294, allocations: 403.6 kB / 384 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.02295, allocations: 4 kB / 384 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.02305, allocations: 15.98 kB / 384 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.02305, allocations: 0 / 384 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.02308, allocations: 12.06 kB / 384 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.02309, allocations: 4 kB / 384 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.02309, allocations: 0 / 384 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006364/0.02372, allocations: 249.3 kB / 384.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-05/0.02377, allocations: 15.91 kB / 384.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/0.02381, allocations: 7.938 kB / 384.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.02397, allocations: 4 kB / 384.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.419e-05/0.02405, allocations: 15.92 kB / 384.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.52e-05/0.02408, allocations: 7.984 kB / 384.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003136/0.02439, allocations: 169.1 kB / 384.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.02439, allocations: 0 / 384.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005559/0.02495, allocations: 39.92 kB / 384.5 MB, free: 11.32 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.004218/0.02917, allocations: 0.5313 MB / 385 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000475/0.02964, allocations: 79.84 kB / 385.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.02965, allocations: 0 / 385.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.02983, allocations: 39.92 kB / 385.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006947/0.03053, allocations: 35.97 kB / 385.2 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.03156, allocations: 297.3 kB / 385.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.03176, allocations: 101.8 kB / 385.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.03187, allocations: 12.64 kB / 385.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.061e-05/0.03195, allocations: 20.5 kB / 385.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.03195, allocations: 7.938 kB / 385.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of Templates: time 0.01086/0.04281, allocations: 2.107 MB / 387.7 MB, free: 8.266 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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: 5.110506811994128]