Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 214.9 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2309/0.2309, allocations: 44.93 MB / 359.6 MB, free: 6.074 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 69.78 kB / 0.4938 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3901, allocations: 65.46 MB / 0.5578 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003697/0.3937, allocations: 1.906 MB / 0.5596 GB, free: 5.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.3958, allocations: 1.007 MB / 0.5606 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.3959, allocations: 11.88 kB / 0.5606 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003494/0.3962, allocations: 43.7 kB / 0.5607 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003516/0.3966, allocations: 103.5 kB / 0.5608 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.3968, allocations: 95.7 kB / 0.5609 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.3971, allocations: 147.5 kB / 0.561 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.3972, allocations: 19.56 kB / 0.561 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.3973, allocations: 63.7 kB / 0.5611 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.3974, allocations: 47.72 kB / 0.5611 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.3974, allocations: 8 kB / 0.5611 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.3975, allocations: 55.91 kB / 0.5612 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.276e-05/0.3976, allocations: 31.86 kB / 0.5612 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.901e-05/0.3977, allocations: 39.73 kB / 0.5613 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.398, allocations: 159.2 kB / 0.5614 GB, free: 3.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.398, allocations: 0 / 0.5614 GB, free: 3.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.398, allocations: 0 / 0.5614 GB, free: 3.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.398, allocations: 0 / 0.5614 GB, free: 3.793 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.000696/0.3987, allocations: 411 kB / 0.5618 GB, free: 3.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.3987, allocations: 12.03 kB / 0.5618 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.367e-05/0.3988, allocations: 4.188 kB / 0.5618 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.117e-05/0.3988, allocations: 42.73 kB / 0.5619 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.3988, allocations: 16.84 kB / 0.5619 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.3992, allocations: 171 kB / 0.562 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.3992, allocations: 8.125 kB / 0.562 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.3992, allocations: 8 kB / 0.5621 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.3995, allocations: 136.7 kB / 0.5622 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3995, allocations: 0 / 0.5622 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.3995, allocations: 4 kB / 0.5622 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.3995, allocations: 8 kB / 0.5622 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.3997, allocations: 47.91 kB / 0.5622 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006615/0.4004, allocations: 476.1 kB / 0.5627 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/0.4007, allocations: 86.59 kB / 0.5628 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.4008, allocations: 40.81 kB / 0.5628 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.4008, allocations: 7.984 kB / 0.5628 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002438/0.4011, allocations: 117 kB / 0.5629 GB, free: 2.059 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.4011, allocations: 0 / 0.5629 GB, free: 2.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004596/0.4016, allocations: 157.4 kB / 0.5631 GB, free: 1.898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.4016, allocations: 51.41 kB / 0.5631 GB, free: 1.836 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.4018, allocations: 207.1 kB / 0.5633 GB, free: 1.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.4019, allocations: 25.7 kB / 0.5634 GB, free: 1.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.548e-05/0.4019, allocations: 116.1 kB / 0.5635 GB, free: 1.477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.402, allocations: 31.73 kB / 0.5635 GB, free: 1.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.402, allocations: 29.72 kB / 0.5635 GB, free: 1.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4022, allocations: 330.8 kB / 0.5638 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.4023, allocations: 27.98 kB / 0.5639 GB, free: 1.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.4024, allocations: 64.27 kB / 0.5639 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.4026, allocations: 100.2 kB / 0.564 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4026, allocations: 4 kB / 0.564 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002987/0.4029, allocations: 141.4 kB / 0.5642 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.4029, allocations: 8.469 kB / 0.5642 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4029, allocations: 0 / 0.5642 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.403, allocations: 3.938 kB / 0.5642 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.4031, allocations: 23.98 kB / 0.5642 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.4031, allocations: 0 / 0.5642 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.306e-05/0.4031, allocations: 19.95 kB / 0.5642 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.4032, allocations: 8 kB / 0.5642 GB, free: 0.6484 MB / 398.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.0001497/0.4033, allocations: 133.7 kB / 0.5644 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.4033, allocations: 15.91 kB / 0.5644 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003299/0.4037, allocations: 138.9 kB / 0.5645 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.4037, allocations: 4 kB / 0.5645 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4037, allocations: 0 / 0.5645 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4037, allocations: 0 / 0.5645 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.4039, allocations: 180.7 kB / 0.5647 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4039, allocations: 0 / 0.5647 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.058e-05/0.404, allocations: 16 kB / 0.5647 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.404, allocations: 0 / 0.5647 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.404, allocations: 7.922 kB / 0.5647 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.404, allocations: 0 / 0.5647 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.404, allocations: 0 / 0.5647 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004303/0.4044, allocations: 188.9 kB / 0.5649 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.167e-05/0.4044, allocations: 23.8 kB / 0.5649 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.4045, allocations: 11.94 kB / 0.5649 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.258e-05/0.4045, allocations: 4 kB / 0.5649 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.4046, allocations: 12.05 kB / 0.5649 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.4046, allocations: 4 kB / 0.5649 GB, free: 15.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001407/0.4047, allocations: 151.2 kB / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4047, allocations: 0 / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.405, allocations: 27.94 kB / 0.5651 GB, free: 15.67 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 (10): * Single equations (assignments): 8 * 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.002265/0.4073, allocations: 1.052 MB / 0.5661 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002725/0.4075, allocations: 91.77 kB / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4075, allocations: 0 / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.4076, allocations: 35.92 kB / 0.5663 GB, free: 14.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.408, allocations: 50.64 kB / 0.5663 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.4102, allocations: 1.77 MB / 0.568 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.4103, allocations: 109.8 kB / 0.5681 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.093e-05/0.4104, allocations: 13.42 kB / 0.5681 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.633e-05/0.4105, allocations: 47.42 kB / 0.5682 GB, free: 12.54 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4105, allocations: 4 kB / 0.5682 GB, free: 12.53 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.4371, allocations: 4.216 MB / 0.5723 GB, free: 8.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.97, allocations: 7.578 kB / 0.5723 GB, free: 8.391 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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: 15.099749473039992]