Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001327/0.001327, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001429/0.001429, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.557/1.557, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.2523/0.2523, allocations: 44.9 MB / 359.6 MB, free: 6.324 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.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",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.002967/0.002967, allocations: 61.78 kB / 0.4939 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3794, allocations: 65.48 MB / 0.5579 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.00357/0.383, allocations: 1.951 MB / 0.5598 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.3848, allocations: 1.084 MB / 0.5608 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.3849, allocations: 3.938 kB / 0.5608 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.3852, allocations: 43.7 kB / 0.5609 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003333/0.3856, allocations: 107.5 kB / 0.561 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.3858, allocations: 91.7 kB / 0.5611 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.3861, allocations: 155.5 kB / 0.5612 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.3862, allocations: 19.58 kB / 0.5612 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.3863, allocations: 63.7 kB / 0.5613 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.3864, allocations: 51.7 kB / 0.5613 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.3865, allocations: 8 kB / 0.5613 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.3866, allocations: 51.92 kB / 0.5614 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.72e-05/0.3867, allocations: 23.91 kB / 0.5614 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.497e-05/0.3867, allocations: 55.62 kB / 0.5615 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.387, allocations: 163.2 kB / 0.5616 GB, free: 3.906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.387, allocations: 0 / 0.5616 GB, free: 3.906 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.387, allocations: 0 / 0.5616 GB, free: 3.906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.387, allocations: 0 / 0.5616 GB, free: 3.906 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.0006473/0.3877, allocations: 415 kB / 0.562 GB, free: 3.465 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3877, allocations: 12.03 kB / 0.562 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.46e-05/0.3877, allocations: 4.125 kB / 0.562 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.623e-05/0.3878, allocations: 42.75 kB / 0.5621 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.657e-05/0.3878, allocations: 16.84 kB / 0.5621 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.3881, allocations: 171 kB / 0.5623 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.3881, allocations: 16.06 kB / 0.5623 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.3882, allocations: 4 kB / 0.5623 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.3884, allocations: 104.2 kB / 0.5624 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3884, allocations: 11.94 kB / 0.5624 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3884, allocations: 0 / 0.5624 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3884, allocations: 0 / 0.5624 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.3886, allocations: 55.89 kB / 0.5624 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006015/0.3892, allocations: 488 kB / 0.5629 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.3895, allocations: 78.67 kB / 0.563 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.3896, allocations: 40.83 kB / 0.563 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.3896, allocations: 0 / 0.563 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.3898, allocations: 87.3 kB / 0.5631 GB, free: 2.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.3898, allocations: 0 / 0.5631 GB, free: 2.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003888/0.3902, allocations: 149.4 kB / 0.5632 GB, free: 2.078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.3903, allocations: 51.41 kB / 0.5633 GB, free: 2.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.3905, allocations: 203.1 kB / 0.5635 GB, free: 1.809 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.3905, allocations: 29.7 kB / 0.5635 GB, free: 1.773 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.875e-05/0.3906, allocations: 112.1 kB / 0.5636 GB, free: 1.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.3906, allocations: 31.75 kB / 0.5636 GB, free: 1.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.3906, allocations: 33.7 kB / 0.5637 GB, free: 1.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3908, allocations: 326.8 kB / 0.564 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.963e-05/0.3909, allocations: 27.98 kB / 0.564 GB, free: 1.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.391, allocations: 60.27 kB / 0.5641 GB, free: 1.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.3912, allocations: 104.5 kB / 0.5642 GB, free: 1.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3912, allocations: 0 / 0.5642 GB, free: 1.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002789/0.3915, allocations: 141.4 kB / 0.5643 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3915, allocations: 8 kB / 0.5643 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3915, allocations: 0 / 0.5643 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3915, allocations: 3.938 kB / 0.5643 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.501e-05/0.3916, allocations: 23.98 kB / 0.5643 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.3916, allocations: 4 kB / 0.5643 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.202e-05/0.3917, allocations: 15.89 kB / 0.5644 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.3917, allocations: 4 kB / 0.5644 GB, free: 0.8398 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.0001129/0.3918, allocations: 137.8 kB / 0.5645 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.3918, allocations: 15.91 kB / 0.5645 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000292/0.3921, allocations: 126.9 kB / 0.5646 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.3921, allocations: 4 kB / 0.5646 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3921, allocations: 0 / 0.5646 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3921, allocations: 0 / 0.5646 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.3923, allocations: 180.6 kB / 0.5648 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3923, allocations: 4 kB / 0.5648 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.561e-05/0.3924, allocations: 15.98 kB / 0.5648 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3924, allocations: 4 kB / 0.5648 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.3924, allocations: 7.938 kB / 0.5648 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3924, allocations: 0 / 0.5648 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.3924, allocations: 4 kB / 0.5648 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.3928, allocations: 185 kB / 0.565 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.3928, allocations: 11.94 kB / 0.565 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.3928, allocations: 3.938 kB / 0.565 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.024e-05/0.3929, allocations: 8.062 kB / 0.565 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.3929, allocations: 11.98 kB / 0.5651 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.393, allocations: 3.938 kB / 0.5651 GB, free: 52 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.3931, allocations: 147.3 kB / 0.5652 GB, free: 15.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3931, allocations: 0 / 0.5652 GB, free: 15.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.3933, allocations: 31.88 kB / 0.5652 GB, free: 15.88 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.00204/0.3954, allocations: 1.012 MB / 0.5662 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.3956, allocations: 75.83 kB / 0.5663 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3956, allocations: 3.938 kB / 0.5663 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.3957, allocations: 36.17 kB / 0.5663 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.3961, allocations: 53.47 kB / 0.5664 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.3983, allocations: 1.762 MB / 0.5681 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.3987, allocations: 0.7084 MB / 0.5688 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.115e-05/0.3987, allocations: 25.41 kB / 0.5688 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.881e-05/0.3988, allocations: 43.42 kB / 0.5689 GB, free: 12.15 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3988, allocations: 0 / 0.5689 GB, free: 12.15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.4236, allocations: 4.045 MB / 0.5728 GB, free: 8.195 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.52, allocations: 18.94 kB / 0.5728 GB, free: 8.184 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 14.80678344500484]