Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001292/0.001292, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001427/0.001427, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.537/1.537, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2839/0.2839, allocations: 46.89 MB / 361.1 MB, free: 4.641 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002445/0.002445, allocations: 76.16 kB / 0.4969 GB, free: 8.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.4003, allocations: 65.97 MB / 0.5613 GB, free: 34.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002853/0.4032, allocations: 1.769 MB / 0.563 GB, free: 33.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.4046, allocations: 1.055 MB / 0.564 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.115e-05/0.4047, allocations: 3.719 kB / 0.564 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003281/0.405, allocations: 86.27 kB / 0.5641 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002933/0.4053, allocations: 119.9 kB / 0.5642 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.4055, allocations: 75.2 kB / 0.5643 GB, free: 32.53 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.4057, allocations: 128 kB / 0.5644 GB, free: 32.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.4058, allocations: 9.891 kB / 0.5644 GB, free: 32.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.4059, allocations: 61.88 kB / 0.5645 GB, free: 32.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.893e-05/0.406, allocations: 55.25 kB / 0.5646 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.406, allocations: 6.609 kB / 0.5646 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.4061, allocations: 63.48 kB / 0.5646 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.4062, allocations: 23.36 kB / 0.5646 GB, free: 32.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.901e-05/0.4062, allocations: 47.31 kB / 0.5647 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.4064, allocations: 138.9 kB / 0.5648 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4064, allocations: 0 / 0.5648 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4064, allocations: 2.375 kB / 0.5648 GB, free: 32.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.4064, allocations: 0 / 0.5648 GB, free: 32.31 MB / 446.1 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.0005117/0.4069, allocations: 444.5 kB / 0.5652 GB, free: 31.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.407, allocations: 7.781 kB / 0.5653 GB, free: 31.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.407, allocations: 14.91 kB / 0.5653 GB, free: 31.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.4073, allocations: 221.8 kB / 0.5655 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.4073, allocations: 11.28 kB / 0.5655 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.4073, allocations: 7.375 kB / 0.5655 GB, free: 31.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.4075, allocations: 65.25 kB / 0.5656 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.4075, allocations: 0 / 0.5656 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.4075, allocations: 0 / 0.5656 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.4075, allocations: 0 / 0.5656 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.402e-05/0.4076, allocations: 19.44 kB / 0.5656 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.4079, allocations: 308.2 kB / 0.5659 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.4081, allocations: 59.47 kB / 0.5659 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/0.4082, allocations: 20.97 kB / 0.5659 GB, free: 31.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.4082, allocations: 1.328 kB / 0.5659 GB, free: 31.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001386/0.4083, allocations: 72.89 kB / 0.566 GB, free: 31.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.4083, allocations: 0 / 0.566 GB, free: 31.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007333/0.4091, allocations: 253.1 kB / 0.5663 GB, free: 31.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.4091, allocations: 59.34 kB / 0.5663 GB, free: 31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.4093, allocations: 218.2 kB / 0.5665 GB, free: 30.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.4093, allocations: 29.7 kB / 0.5666 GB, free: 30.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.572e-05/0.4093, allocations: 105.9 kB / 0.5667 GB, free: 30.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.4094, allocations: 37.91 kB / 0.5667 GB, free: 30.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.4094, allocations: 28.47 kB / 0.5667 GB, free: 30.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.538e-05/0.4095, allocations: 331.3 kB / 0.567 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.154e-05/0.4095, allocations: 29.95 kB / 0.5671 GB, free: 30.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.724e-05/0.4096, allocations: 48.38 kB / 0.5671 GB, free: 30.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.4097, allocations: 81.23 kB / 0.5672 GB, free: 30.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4097, allocations: 0 / 0.5672 GB, free: 30.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002223/0.41, allocations: 129.8 kB / 0.5673 GB, free: 30.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.41, allocations: 7.656 kB / 0.5673 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.41, allocations: 1.312 kB / 0.5673 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.41, allocations: 0 / 0.5673 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.844e-05/0.4101, allocations: 25.48 kB / 0.5673 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.4101, allocations: 3.469 kB / 0.5673 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.667e-05/0.4101, allocations: 11.62 kB / 0.5674 GB, free: 30.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.4101, allocations: 3.688 kB / 0.5674 GB, free: 30.19 MB / 446.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 (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 7.892e-05/0.4102, allocations: 129.9 kB / 0.5675 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.4102, allocations: 14.69 kB / 0.5675 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/0.4105, allocations: 150.4 kB / 0.5676 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.4105, allocations: 3.094 kB / 0.5676 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4105, allocations: 2.312 kB / 0.5676 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.4105, allocations: 4.594 kB / 0.5677 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004116/0.4109, allocations: 448.5 kB / 0.5681 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4109, allocations: 6.469 kB / 0.5681 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-05/0.411, allocations: 13.19 kB / 0.5681 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.411, allocations: 3.938 kB / 0.5681 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.411, allocations: 7.094 kB / 0.5681 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.411, allocations: 3.562 kB / 0.5681 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.411, allocations: 0 / 0.5681 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.4112, allocations: 235.5 kB / 0.5683 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-05/0.4112, allocations: 95.17 kB / 0.5684 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.4112, allocations: 7.094 kB / 0.5684 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.4113, allocations: 6.75 kB / 0.5684 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.4113, allocations: 6.578 kB / 0.5684 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.4114, allocations: 6.469 kB / 0.5685 GB, free: 29.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001005/0.4115, allocations: 170.2 kB / 0.5686 GB, free: 29.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4115, allocations: 0 / 0.5686 GB, free: 29.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.4117, allocations: 30.08 kB / 0.5686 GB, free: 29.18 MB / 446.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 (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.001826/0.4136, allocations: 0.513 MB / 0.5691 GB, free: 28.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.4138, allocations: 76.06 kB / 0.5692 GB, free: 28.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4138, allocations: 4 kB / 0.5692 GB, free: 28.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.599e-05/0.4138, allocations: 32.88 kB / 0.5693 GB, free: 28.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.4142, allocations: 49.56 kB / 0.5693 GB, free: 28.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004605/0.4147, allocations: 288.8 kB / 0.5696 GB, free: 28.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.4148, allocations: 0.71 MB / 0.5703 GB, free: 28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.552e-05/0.4149, allocations: 20.5 kB / 0.5703 GB, free: 27.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.4149, allocations: 23.84 kB / 0.5703 GB, free: 27.98 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4149, allocations: 4 kB / 0.5703 GB, free: 27.98 MB / 446.1 MB Notification: Performance of Templates: time 0.005272/0.4202, allocations: 2.03 MB / 0.5723 GB, free: 27.75 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.410708992742002]