Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.001276/0.001276, allocations: 119.6 kB / 20.44 MB, free: 1.301 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.001441/0.001441, allocations: 214.5 kB / 23.74 MB, free: 4.527 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.423/1.423, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2292/0.2292, allocations: 46.92 MB / 360.9 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test43,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 63.89 kB / 0.4962 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3463, allocations: 66.04 MB / 0.5607 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003262/0.3495, allocations: 1.737 MB / 0.5624 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.3513, allocations: 1.053 MB / 0.5634 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.754e-05/0.3514, allocations: 0 / 0.5634 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.3517, allocations: 43.75 kB / 0.5635 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.352, allocations: 99.53 kB / 0.5636 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.3522, allocations: 71.75 kB / 0.5637 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.3524, allocations: 115.6 kB / 0.5638 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.897e-05/0.3525, allocations: 9.828 kB / 0.5638 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.936e-05/0.3526, allocations: 43.78 kB / 0.5638 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.662e-05/0.3527, allocations: 35.84 kB / 0.5639 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.3527, allocations: 4 kB / 0.5639 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.3528, allocations: 43.92 kB / 0.5639 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.762e-05/0.3529, allocations: 23.86 kB / 0.5639 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.523e-05/0.3529, allocations: 39.73 kB / 0.564 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.3531, allocations: 123.5 kB / 0.5641 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3531, allocations: 0 / 0.5641 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3531, allocations: 0 / 0.5641 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3531, allocations: 4 kB / 0.5641 GB, free: 0.9727 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005912/0.3537, allocations: 353.5 kB / 0.5644 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.3538, allocations: 8.031 kB / 0.5644 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.741e-05/0.3538, allocations: 38.75 kB / 0.5645 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.3539, allocations: 8.891 kB / 0.5645 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.3541, allocations: 162.2 kB / 0.5646 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.3542, allocations: 384 / 0.5646 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.3542, allocations: 11.94 kB / 0.5646 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.3543, allocations: 53.67 kB / 0.5647 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.3543, allocations: 4 kB / 0.5647 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.3544, allocations: 4 kB / 0.5647 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.3544, allocations: 4 kB / 0.5647 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.106e-05/0.3544, allocations: 15.98 kB / 0.5647 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.3548, allocations: 267.8 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.355, allocations: 58.67 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.221e-05/0.3551, allocations: 16.86 kB / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.3551, allocations: 4 kB / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.3552, allocations: 67.33 kB / 0.5651 GB, free: 15.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3552, allocations: 0 / 0.5651 GB, free: 15.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005266/0.3558, allocations: 173.3 kB / 0.5653 GB, free: 15.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/0.3558, allocations: 63.34 kB / 0.5653 GB, free: 15.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.356, allocations: 218.6 kB / 0.5655 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.3561, allocations: 33.7 kB / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/0.3561, allocations: 104.1 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.3562, allocations: 23.8 kB / 0.5657 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.3562, allocations: 29.7 kB / 0.5657 GB, free: 15.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3564, allocations: 322.8 kB / 0.566 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.532e-05/0.3564, allocations: 20 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.826e-05/0.3565, allocations: 41.7 kB / 0.5661 GB, free: 14.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.3566, allocations: 61.62 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3566, allocations: 0 / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001992/0.3568, allocations: 101.6 kB / 0.5662 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.3568, allocations: 7.984 kB / 0.5663 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3568, allocations: 0 / 0.5663 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3568, allocations: 4.031 kB / 0.5663 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.857e-05/0.3569, allocations: 19.94 kB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.3569, allocations: 0 / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.357, allocations: 7.938 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.357, allocations: 3.984 kB / 0.5663 GB, free: 14.5 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 (10): * Single equations (assignments): 10 * 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.0001185/0.3571, allocations: 125.8 kB / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.3571, allocations: 11.91 kB / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.3574, allocations: 123.3 kB / 0.5665 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.3574, allocations: 7.984 kB / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.3574, allocations: 3.938 kB / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3574, allocations: 3.938 kB / 0.5666 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004934/0.3579, allocations: 366.8 kB / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3579, allocations: 0 / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.527e-05/0.3579, allocations: 12 kB / 0.5669 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.3579, allocations: 7.938 kB / 0.5669 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.358, allocations: 0 / 0.5669 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.358, allocations: 0 / 0.5669 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.358, allocations: 4.031 kB / 0.5669 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.3582, allocations: 208.3 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.3582, allocations: 11.89 kB / 0.5671 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.3583, allocations: 3.938 kB / 0.5671 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.106e-05/0.3583, allocations: 4 kB / 0.5671 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.3584, allocations: 15.97 kB / 0.5672 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.3584, allocations: 4 kB / 0.5672 GB, free: 13.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001594/0.3586, allocations: 156.3 kB / 0.5673 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3586, allocations: 3.938 kB / 0.5673 GB, free: 13.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.3588, allocations: 27.92 kB / 0.5673 GB, free: 13.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.002263/0.3611, allocations: 1.089 MB / 0.5684 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.3613, allocations: 51.97 kB / 0.5685 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.3613, allocations: 4.062 kB / 0.5685 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.033e-05/0.3614, allocations: 23.94 kB / 0.5685 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.3617, allocations: 37.89 kB / 0.5685 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.3637, allocations: 1.692 MB / 0.5702 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.3641, allocations: 0.7119 MB / 0.5709 GB, free: 9.762 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.029e-05/0.3641, allocations: 16.58 kB / 0.5709 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.421e-05/0.3642, allocations: 35.42 kB / 0.5709 GB, free: 9.711 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3642, allocations: 0 / 0.5709 GB, free: 9.711 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.3943, allocations: 3.684 MB / 0.5745 GB, free: 6.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.23, allocations: 4.062 kB / 0.5745 GB, free: 6.086 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.2251928569749]