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.001421/0.001421, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001514/0.001514, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2386/0.2386, allocations: 44.92 MB / 358.8 MB, free: 6.281 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",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.002271/0.002271, allocations: 63.91 kB / 0.4931 GB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.386, allocations: 65.48 MB / 0.5571 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003954/0.39, allocations: 1.948 MB / 0.559 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.3922, allocations: 1.088 MB / 0.5601 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.3923, allocations: 0 / 0.5601 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003518/0.3927, allocations: 47.7 kB / 0.5601 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004319/0.3931, allocations: 103.5 kB / 0.5602 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.3935, allocations: 95.64 kB / 0.5603 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003187/0.3938, allocations: 147.5 kB / 0.5604 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.3939, allocations: 27.56 kB / 0.5605 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.3941, allocations: 67.64 kB / 0.5605 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.3942, allocations: 47.72 kB / 0.5606 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.3942, allocations: 8 kB / 0.5606 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.3944, allocations: 51.97 kB / 0.5606 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.17e-05/0.3945, allocations: 23.91 kB / 0.5606 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.826e-05/0.3945, allocations: 47.62 kB / 0.5607 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003399/0.3949, allocations: 167.2 kB / 0.5608 GB, free: 3.879 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.3949, allocations: 0 / 0.5608 GB, free: 3.879 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.3949, allocations: 0 / 0.5608 GB, free: 3.879 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.649e-05/0.3949, allocations: 4 kB / 0.5609 GB, free: 3.875 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.0008642/0.3958, allocations: 407.1 kB / 0.5612 GB, free: 3.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.3958, allocations: 12.03 kB / 0.5613 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.075e-05/0.3959, allocations: 34.75 kB / 0.5613 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.185e-05/0.3959, allocations: 16.84 kB / 0.5613 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.3964, allocations: 178.9 kB / 0.5615 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.3964, allocations: 4.375 kB / 0.5615 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.3964, allocations: 15.94 kB / 0.5615 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.3967, allocations: 104.2 kB / 0.5616 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.3967, allocations: 7.875 kB / 0.5616 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.3967, allocations: 4 kB / 0.5616 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3967, allocations: 0 / 0.5616 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.3969, allocations: 51.95 kB / 0.5617 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007032/0.3976, allocations: 488 kB / 0.5621 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/0.398, allocations: 78.67 kB / 0.5622 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.3981, allocations: 40.83 kB / 0.5622 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/0.3981, allocations: 7.938 kB / 0.5622 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002256/0.3983, allocations: 83.3 kB / 0.5623 GB, free: 2.211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.983e-06/0.3983, allocations: 0 / 0.5623 GB, free: 2.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004534/0.3988, allocations: 149.4 kB / 0.5625 GB, free: 2.059 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.3988, allocations: 55.41 kB / 0.5625 GB, free: 1.992 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.3991, allocations: 203.1 kB / 0.5627 GB, free: 1.785 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.3991, allocations: 29.7 kB / 0.5627 GB, free: 1.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.3992, allocations: 112.1 kB / 0.5628 GB, free: 1.637 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.3993, allocations: 27.75 kB / 0.5629 GB, free: 1.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.939e-05/0.3993, allocations: 29.7 kB / 0.5629 GB, free: 1.574 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3995, allocations: 326.8 kB / 0.5632 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.842e-05/0.3996, allocations: 31.98 kB / 0.5632 GB, free: 1.215 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.3997, allocations: 64.2 kB / 0.5633 GB, free: 1.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.3999, allocations: 104.2 kB / 0.5634 GB, free: 1.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4, allocations: 0 / 0.5634 GB, free: 1.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002947/0.4002, allocations: 133.8 kB / 0.5635 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.4003, allocations: 4 kB / 0.5635 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.4003, allocations: 8 kB / 0.5635 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.4003, allocations: 4.031 kB / 0.5635 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.4004, allocations: 35.98 kB / 0.5636 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.4004, allocations: 4 kB / 0.5636 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.293e-05/0.4005, allocations: 11.89 kB / 0.5636 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.4005, allocations: 8 kB / 0.5636 GB, free: 0.8086 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.0001294/0.4006, allocations: 125.8 kB / 0.5637 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.4007, allocations: 11.91 kB / 0.5637 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.401, allocations: 127 kB / 0.5639 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.401, allocations: 7.922 kB / 0.5639 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.401, allocations: 4 kB / 0.5639 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.401, allocations: 4 kB / 0.5639 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.4012, allocations: 180.6 kB / 0.564 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.4012, allocations: 0 / 0.564 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.53e-05/0.4013, allocations: 19.92 kB / 0.5641 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.4013, allocations: 4 kB / 0.5641 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.4013, allocations: 0 / 0.5641 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.4013, allocations: 3.938 kB / 0.5641 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4013, allocations: 3.984 kB / 0.5641 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.4017, allocations: 180.9 kB / 0.5642 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.708e-05/0.4017, allocations: 15.92 kB / 0.5643 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.4018, allocations: 4 kB / 0.5643 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.214e-05/0.4018, allocations: 11.94 kB / 0.5643 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.4019, allocations: 3.984 kB / 0.5643 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.4019, allocations: 4 kB / 0.5643 GB, free: 32 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.402, allocations: 143.3 kB / 0.5644 GB, free: 15.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.402, allocations: 8.062 kB / 0.5644 GB, free: 15.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.4023, allocations: 27.92 kB / 0.5645 GB, free: 15.85 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.002197/0.4045, allocations: 1.016 MB / 0.5654 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002734/0.4048, allocations: 87.77 kB / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4048, allocations: 3.938 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.4049, allocations: 27.98 kB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.4052, allocations: 40.97 kB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.4076, allocations: 1.764 MB / 0.5673 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.408, allocations: 0.7162 MB / 0.568 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.265e-05/0.4081, allocations: 13.42 kB / 0.568 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.375e-05/0.4082, allocations: 47.42 kB / 0.5681 GB, free: 12.14 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4082, allocations: 0 / 0.5681 GB, free: 12.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/0.4418, allocations: 4.033 MB / 0.572 GB, free: 8.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.47, allocations: 7.125 kB / 0.572 GB, free: 8.176 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.562273316085339]