Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001362/0.001362, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001525/0.001525, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.508/1.508, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.23/0.23, allocations: 46.93 MB / 360.9 MB, free: 4.242 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.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 67.89 kB / 0.4962 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.363, allocations: 66.04 MB / 0.5607 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003366/0.3663, allocations: 1.67 MB / 0.5623 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.3676, allocations: 0.5777 MB / 0.5629 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.511e-05/0.3676, allocations: 0 / 0.5629 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003718/0.368, allocations: 87.73 kB / 0.563 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.3683, allocations: 115.6 kB / 0.5631 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.3687, allocations: 119.7 kB / 0.5632 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.3689, allocations: 107.7 kB / 0.5633 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.369, allocations: 17.83 kB / 0.5633 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.243e-05/0.3691, allocations: 47.83 kB / 0.5633 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.3692, allocations: 75.72 kB / 0.5634 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.3693, allocations: 8 kB / 0.5634 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.3694, allocations: 43.98 kB / 0.5635 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.045e-05/0.3694, allocations: 31.86 kB / 0.5635 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.047e-05/0.3695, allocations: 39.69 kB / 0.5635 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.3697, allocations: 135.3 kB / 0.5637 GB, free: 1.395 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3697, allocations: 8 kB / 0.5637 GB, free: 1.387 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3697, allocations: 0 / 0.5637 GB, free: 1.387 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.3698, allocations: 0 / 0.5637 GB, free: 1.387 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000587/0.3703, allocations: 361.4 kB / 0.564 GB, free: 1.004 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.3704, allocations: 8.031 kB / 0.564 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.038e-05/0.3704, allocations: 42.69 kB / 0.5641 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.3705, allocations: 12.84 kB / 0.5641 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.3707, allocations: 158.8 kB / 0.5642 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.3707, allocations: 4.375 kB / 0.5642 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.3707, allocations: 12.38 kB / 0.5642 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.3709, allocations: 73.59 kB / 0.5643 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.3709, allocations: 3.953 kB / 0.5643 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.371, allocations: 4 kB / 0.5643 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.371, allocations: 0 / 0.5643 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.3711, allocations: 43.91 kB / 0.5644 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.3716, allocations: 307.8 kB / 0.5647 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.3717, allocations: 70.48 kB / 0.5647 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.812e-05/0.3718, allocations: 20.84 kB / 0.5647 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.3718, allocations: 11.94 kB / 0.5648 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.3718, allocations: 30.56 kB / 0.5648 GB, free: 116 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.3718, allocations: 0 / 0.5648 GB, free: 116 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001085/0.3729, allocations: 348.9 kB / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.3729, allocations: 55.41 kB / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.3732, allocations: 239.5 kB / 0.5654 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.3732, allocations: 25.7 kB / 0.5654 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.84e-05/0.3733, allocations: 120.1 kB / 0.5655 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/0.3734, allocations: 47.58 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.3734, allocations: 29.66 kB / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3736, allocations: 322.8 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.3737, allocations: 43.97 kB / 0.566 GB, free: 14.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.888e-05/0.3738, allocations: 43.97 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.374, allocations: 116.8 kB / 0.5661 GB, free: 14.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.374, allocations: 0 / 0.5661 GB, free: 14.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002875/0.3743, allocations: 153.5 kB / 0.5663 GB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3743, allocations: 4 kB / 0.5663 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.3743, allocations: 3.938 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.3743, allocations: 0 / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.3745, allocations: 31.92 kB / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3745, allocations: 8 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.673e-05/0.3745, allocations: 7.984 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.3745, allocations: 4 kB / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001417/0.3747, allocations: 145.8 kB / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.3747, allocations: 15.91 kB / 0.5665 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003888/0.3751, allocations: 187.4 kB / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3751, allocations: 4 kB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3751, allocations: 0 / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.3751, allocations: 11.91 kB / 0.5667 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006805/0.3758, allocations: 474.2 kB / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3758, allocations: 0 / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.852e-05/0.3759, allocations: 23.98 kB / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.3759, allocations: 4 kB / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.3759, allocations: 11.92 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3759, allocations: 3.984 kB / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3759, allocations: 8.031 kB / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.3763, allocations: 252.2 kB / 0.5674 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.946e-05/0.3763, allocations: 11.91 kB / 0.5674 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.3763, allocations: 4 kB / 0.5674 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.466e-05/0.3764, allocations: 7.984 kB / 0.5674 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.3764, allocations: 15.98 kB / 0.5674 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.3764, allocations: 4 kB / 0.5674 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001716/0.3766, allocations: 185.1 kB / 0.5676 GB, free: 13.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3766, allocations: 0 / 0.5676 GB, free: 13.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.3769, allocations: 31.88 kB / 0.5677 GB, free: 13.02 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.002223/0.3791, allocations: 1.143 MB / 0.5688 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002896/0.3794, allocations: 111.9 kB / 0.5689 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3794, allocations: 0 / 0.5689 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.3795, allocations: 63.78 kB / 0.5689 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.3799, allocations: 25.61 kB / 0.569 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003313/0.3832, allocations: 1.92 MB / 0.5708 GB, free: 9.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/0.3837, allocations: 0.7164 MB / 0.5715 GB, free: 9.078 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000127/0.3838, allocations: 28.45 kB / 0.5716 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.3839, allocations: 51.42 kB / 0.5716 GB, free: 9.004 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3839, allocations: 0 / 0.5716 GB, free: 9.004 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03298/0.4169, allocations: 3.794 MB / 0.5753 GB, free: 5.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.38, allocations: 14.86 kB / 0.5753 GB, free: 5.262 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.449186311801895]