Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.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.001585/0.001585, 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.001686/0.001686, allocations: 216.5 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.671/1.671, allocations: 230.2 MB / 257.8 MB, free: 8.516 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.2516/0.2516, allocations: 46.9 MB / 361.1 MB, free: 4.719 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35") [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.002385/0.002385, allocations: 91.84 kB / 0.4969 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4753/0.4777, allocations: 65.97 MB / 0.5613 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003976/0.4817, allocations: 1.771 MB / 0.563 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002506/0.4842, allocations: 1.049 MB / 0.564 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.4843, allocations: 7.938 kB / 0.5641 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005265/0.4848, allocations: 91.67 kB / 0.5641 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005593/0.4854, allocations: 111.6 kB / 0.5642 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.4857, allocations: 87.67 kB / 0.5643 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002874/0.486, allocations: 123.7 kB / 0.5644 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.4862, allocations: 11.98 kB / 0.5645 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.4863, allocations: 59.75 kB / 0.5645 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.4865, allocations: 75.67 kB / 0.5646 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.4865, allocations: 8 kB / 0.5646 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.4867, allocations: 51.98 kB / 0.5646 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.684e-05/0.4868, allocations: 39.83 kB / 0.5647 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.788e-05/0.4869, allocations: 35.69 kB / 0.5647 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.4873, allocations: 150.1 kB / 0.5649 GB, free: 1.312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4873, allocations: 0 / 0.5649 GB, free: 1.312 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4873, allocations: 3.938 kB / 0.5649 GB, free: 1.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.4873, allocations: 0 / 0.5649 GB, free: 1.309 MB / 398.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.000827/0.4881, allocations: 454.4 kB / 0.5653 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.4882, allocations: 8.031 kB / 0.5653 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.917e-05/0.4882, allocations: 16.84 kB / 0.5653 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.4886, allocations: 216.9 kB / 0.5655 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.4887, allocations: 4.375 kB / 0.5655 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.4887, allocations: 4.375 kB / 0.5655 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.4889, allocations: 61.98 kB / 0.5656 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.4889, allocations: 7.922 kB / 0.5656 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.4889, allocations: 4 kB / 0.5656 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.4889, allocations: 4 kB / 0.5656 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.851e-05/0.489, allocations: 19.98 kB / 0.5656 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000617/0.4896, allocations: 304.7 kB / 0.5659 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.4899, allocations: 66.42 kB / 0.566 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.49, allocations: 21.03 kB / 0.566 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.49, allocations: 7.938 kB / 0.566 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.4903, allocations: 63.39 kB / 0.5661 GB, free: 15.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.864e-06/0.4903, allocations: 0 / 0.5661 GB, free: 15.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008663/0.4911, allocations: 249.8 kB / 0.5663 GB, free: 15.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.4912, allocations: 55.39 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.4914, allocations: 239 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.4915, allocations: 25.7 kB / 0.5666 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.165e-05/0.4915, allocations: 116.1 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.724e-05/0.4916, allocations: 31.73 kB / 0.5668 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.835e-05/0.4917, allocations: 25.72 kB / 0.5668 GB, free: 15.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002426/0.4919, allocations: 334.8 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.93e-05/0.492, allocations: 31.92 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.4921, allocations: 41.7 kB / 0.5672 GB, free: 14.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.4923, allocations: 85.75 kB / 0.5673 GB, free: 14.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4923, allocations: 3.938 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003408/0.4927, allocations: 129.5 kB / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.4927, allocations: 12.03 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.4927, allocations: 0 / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.313e-05/0.4928, allocations: 0 / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.4929, allocations: 27.92 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.4929, allocations: 0 / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.094e-05/0.493, allocations: 7.875 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.493, allocations: 4 kB / 0.5674 GB, free: 14.44 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 (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.0001935/0.4932, allocations: 137.8 kB / 0.5676 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.4932, allocations: 15.91 kB / 0.5676 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006024/0.4938, allocations: 154.9 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4938, allocations: 0 / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4938, allocations: 0 / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.4938, allocations: 3.938 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.4951, allocations: 448.1 kB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4951, allocations: 0 / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.908e-05/0.4952, allocations: 16 kB / 0.5682 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/0.4952, allocations: 11.94 kB / 0.5682 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.4952, allocations: 7.984 kB / 0.5682 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.4952, allocations: 4 kB / 0.5682 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.4952, allocations: 0 / 0.5682 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.4957, allocations: 225.1 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.4958, allocations: 100.9 kB / 0.5685 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.4958, allocations: 8 kB / 0.5685 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.4959, allocations: 0 / 0.5685 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.68e-05/0.496, allocations: 15.92 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/0.496, allocations: 4 kB / 0.5685 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002402/0.4963, allocations: 176.4 kB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4963, allocations: 0 / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004529/0.4967, allocations: 27.94 kB / 0.5687 GB, free: 12.99 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 (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.002565/0.4993, allocations: 0.508 MB / 0.5692 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003271/0.4996, allocations: 71.91 kB / 0.5693 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.4996, allocations: 0 / 0.5693 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.4997, allocations: 35.92 kB / 0.5693 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005728/0.5003, allocations: 42.67 kB / 0.5694 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000981/0.5013, allocations: 312.4 kB / 0.5697 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006154/0.5019, allocations: 0.7165 MB / 0.5704 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.728e-05/0.502, allocations: 16.64 kB / 0.5704 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.891e-05/0.5021, allocations: 19.44 kB / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5021, allocations: 0 / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Performance of Templates: time 0.00837/0.5104, allocations: 2.034 MB / 0.5724 GB, free: 9.387 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.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.725182372611016]