Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.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.001589/0.001589, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001797/0.001797, allocations: 213.6 kB / 24.54 MB, free: 4.02 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.578/1.578, allocations: 230.3 MB / 258 MB, free: 8.191 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.2447/0.2447, allocations: 46.95 MB / 361.4 MB, free: 4.391 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13") [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.002668/0.002668, allocations: 79.86 kB / 0.4972 GB, free: 7.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3884, allocations: 66.04 MB / 0.5617 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.004094/0.3925, allocations: 1.949 MB / 0.5636 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.3948, allocations: 1.095 MB / 0.5647 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.395, allocations: 3.938 kB / 0.5647 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003863/0.3953, allocations: 47.7 kB / 0.5647 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003681/0.3957, allocations: 99.48 kB / 0.5648 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.396, allocations: 95.64 kB / 0.5649 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.3962, allocations: 147.5 kB / 0.5651 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.3964, allocations: 33.38 kB / 0.5651 GB, free: 1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.3965, allocations: 63.66 kB / 0.5652 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.3966, allocations: 51.7 kB / 0.5652 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.3966, allocations: 8 kB / 0.5652 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.3968, allocations: 47.98 kB / 0.5653 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.018e-05/0.3968, allocations: 19.92 kB / 0.5653 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.3969, allocations: 55.61 kB / 0.5653 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.3973, allocations: 158.1 kB / 0.5655 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3973, allocations: 0 / 0.5655 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3973, allocations: 0 / 0.5655 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.3973, allocations: 4 kB / 0.5655 GB, free: 0.6016 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008965/0.3982, allocations: 411 kB / 0.5659 GB, free: 168 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.899e-05/0.3983, allocations: 12.03 kB / 0.5659 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.15e-05/0.3984, allocations: 12.84 kB / 0.5659 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004685/0.3988, allocations: 176.7 kB / 0.5661 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.3989, allocations: 4.375 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.3989, allocations: 8.375 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.3992, allocations: 106.8 kB / 0.5662 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3992, allocations: 0 / 0.5662 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.3992, allocations: 11.98 kB / 0.5662 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3992, allocations: 0 / 0.5662 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.3994, allocations: 51.89 kB / 0.5662 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008116/0.4002, allocations: 496 kB / 0.5667 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003946/0.4006, allocations: 78.61 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.4007, allocations: 40.83 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.4008, allocations: 4 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000253/0.401, allocations: 87.25 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.994e-06/0.401, allocations: 0 / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004682/0.4015, allocations: 145.5 kB / 0.5671 GB, free: 14.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.4015, allocations: 51.41 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.4018, allocations: 203.1 kB / 0.5673 GB, free: 14.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.4018, allocations: 29.7 kB / 0.5673 GB, free: 14.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.4019, allocations: 120 kB / 0.5674 GB, free: 14.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.4019, allocations: 23.8 kB / 0.5675 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/0.402, allocations: 29.7 kB / 0.5675 GB, free: 14.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.4022, allocations: 322.8 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.245e-05/0.4023, allocations: 27.98 kB / 0.5678 GB, free: 14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.4024, allocations: 72.27 kB / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.4026, allocations: 100.1 kB / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4026, allocations: 0 / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002802/0.4029, allocations: 149.6 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.4029, allocations: 8 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4029, allocations: 0 / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.4029, allocations: 0 / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.403, allocations: 23.98 kB / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.403, allocations: 3.938 kB / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.657e-05/0.4031, allocations: 12.12 kB / 0.5682 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.4031, allocations: 8 kB / 0.5682 GB, free: 13.59 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001347/0.4032, allocations: 132.1 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.4033, allocations: 19.84 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003197/0.4036, allocations: 123 kB / 0.5684 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.4036, allocations: 4 kB / 0.5685 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4036, allocations: 0 / 0.5685 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4036, allocations: 4 kB / 0.5685 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.4038, allocations: 188.6 kB / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4038, allocations: 0 / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.263e-05/0.4039, allocations: 19.92 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4039, allocations: 0 / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.4039, allocations: 3.938 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4039, allocations: 0 / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/0.4039, allocations: 3.938 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003933/0.4043, allocations: 188.9 kB / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.342e-05/0.4043, allocations: 15.84 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.4044, allocations: 4 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.1e-05/0.4044, allocations: 4 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.4045, allocations: 8.266 kB / 0.5689 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.4045, allocations: 4 kB / 0.5689 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.4046, allocations: 143.2 kB / 0.569 GB, free: 12.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4047, allocations: 3.938 kB / 0.569 GB, free: 12.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.4049, allocations: 35.98 kB / 0.5691 GB, free: 12.62 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001579/0.4065, allocations: 401.4 kB / 0.5694 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003008/0.4068, allocations: 83.83 kB / 0.5695 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4068, allocations: 0 / 0.5695 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.4069, allocations: 27.98 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.4072, allocations: 49.66 kB / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006658/0.4079, allocations: 279.4 kB / 0.5699 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/0.4084, allocations: 0.7122 MB / 0.5705 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.064e-05/0.4085, allocations: 21.42 kB / 0.5706 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/0.4085, allocations: 15.44 kB / 0.5706 GB, free: 11.14 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4085, allocations: 0 / 0.5706 GB, free: 11.14 MB / 414.1 MB Notification: Performance of Templates: time 0.006468/0.415, allocations: 1.956 MB / 0.5725 GB, free: 9.191 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.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.4174843011423945]