Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.001699/0.001699, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 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.00182/0.00182, allocations: 215.5 kB / 24.48 MB, free: 3.836 MB / 14.72 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.493/1.493, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.1 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.2492/0.2492, allocations: 46.95 MB / 361.6 MB, free: 3.934 MB / 286.1 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002463/0.002463, allocations: 79.88 kB / 0.4974 GB, free: 6.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3786, allocations: 66.09 MB / 0.562 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003572/0.3822, allocations: 1.747 MB / 0.5637 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.3841, allocations: 0.9826 MB / 0.5646 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.628e-05/0.3842, allocations: 0 / 0.5646 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000384/0.3846, allocations: 111.6 kB / 0.5648 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003905/0.385, allocations: 131.5 kB / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.3852, allocations: 79.67 kB / 0.565 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.3854, allocations: 135.7 kB / 0.5651 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3855, allocations: 17.52 kB / 0.5651 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.3856, allocations: 67.75 kB / 0.5652 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.3858, allocations: 71.73 kB / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.3858, allocations: 8 kB / 0.5652 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.3859, allocations: 63.97 kB / 0.5653 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.747e-05/0.386, allocations: 35.91 kB / 0.5653 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.233e-05/0.3861, allocations: 47.67 kB / 0.5654 GB, free: 468 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.3864, allocations: 161.7 kB / 0.5655 GB, free: 312 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3864, allocations: 0 / 0.5655 GB, free: 312 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3864, allocations: 7.938 kB / 0.5655 GB, free: 304 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.3864, allocations: 0 / 0.5655 GB, free: 304 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006547/0.387, allocations: 389.2 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3871, allocations: 12.03 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.379e-05/0.3871, allocations: 12.84 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.3874, allocations: 163.3 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.3875, allocations: 4.375 kB / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.3875, allocations: 8.375 kB / 0.5661 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.3877, allocations: 77.91 kB / 0.5662 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.3877, allocations: 7.953 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.3877, allocations: 7.984 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3877, allocations: 0 / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.3878, allocations: 43.91 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004553/0.3883, allocations: 272.4 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.3886, allocations: 74.48 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.294e-05/0.3887, allocations: 28.84 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.3887, allocations: 4 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.3888, allocations: 75.38 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.3888, allocations: 3.938 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009096/0.3898, allocations: 324.5 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.3898, allocations: 55.41 kB / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.3901, allocations: 263.7 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.3901, allocations: 29.7 kB / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.766e-05/0.3902, allocations: 116.1 kB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.186e-05/0.3903, allocations: 55.58 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.657e-05/0.3903, allocations: 29.7 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3905, allocations: 334.8 kB / 0.5678 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.914e-05/0.3906, allocations: 39.97 kB / 0.5679 GB, free: 13.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.3907, allocations: 61.64 kB / 0.5679 GB, free: 13.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.3909, allocations: 105.7 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3909, allocations: 0 / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000285/0.3911, allocations: 165.5 kB / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3912, allocations: 8 kB / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3912, allocations: 4.031 kB / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3912, allocations: 0 / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.3913, allocations: 27.98 kB / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.3913, allocations: 7.922 kB / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.976e-05/0.3913, allocations: 3.938 kB / 0.5682 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.3914, allocations: 15.98 kB / 0.5683 GB, free: 13.34 MB / 414.1 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 (16): * Single equations (assignments): 16 * 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.0001277/0.3915, allocations: 135.2 kB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.3915, allocations: 23.8 kB / 0.5684 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004/0.3919, allocations: 197.3 kB / 0.5686 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.3919, allocations: 12.83 kB / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3919, allocations: 0 / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3919, allocations: 3.938 kB / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006828/0.3926, allocations: 463.7 kB / 0.569 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3926, allocations: 0 / 0.569 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.395e-05/0.3927, allocations: 27.92 kB / 0.5691 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.3927, allocations: 3.938 kB / 0.5691 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.3927, allocations: 8 kB / 0.5691 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3927, allocations: 0 / 0.5691 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3927, allocations: 8 kB / 0.5691 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.3931, allocations: 276.4 kB / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.3931, allocations: 19.8 kB / 0.5694 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.3932, allocations: 8 kB / 0.5694 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.809e-05/0.3932, allocations: 0 / 0.5694 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.3933, allocations: 23.91 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.3933, allocations: 4 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000197/0.3935, allocations: 197.5 kB / 0.5696 GB, free: 11.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3935, allocations: 0 / 0.5696 GB, free: 11.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002942/0.3938, allocations: 35.92 kB / 0.5696 GB, free: 11.84 MB / 414.1 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 (16): * Single equations (assignments): 14 * 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.002144/0.3959, allocations: 0.541 MB / 0.5702 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002829/0.3962, allocations: 107.5 kB / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3962, allocations: 0 / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.3963, allocations: 55.91 kB / 0.5703 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.3967, allocations: 39.08 kB / 0.5704 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007532/0.3975, allocations: 370.5 kB / 0.5707 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.3976, allocations: 123.2 kB / 0.5708 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/0.3977, allocations: 23.42 kB / 0.5708 GB, free: 10.74 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3977, allocations: 0 / 0.5708 GB, free: 10.74 MB / 414.1 MB Notification: Performance of Templates: time 0.005253/0.4029, allocations: 2.589 MB / 0.5734 GB, free: 8.16 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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: 8.215052605140954]