Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001801/0.001801, 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.002156/0.002156, allocations: 214.7 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.437/1.437, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2296/0.2296, allocations: 46.93 MB / 360.9 MB, free: 4.258 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.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002654/0.002654, allocations: 63.89 kB / 0.4962 GB, free: 7.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3586, allocations: 66.04 MB / 0.5607 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003338/0.3619, allocations: 1.632 MB / 0.5623 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.363, allocations: 0.5621 MB / 0.5628 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.547e-05/0.3631, allocations: 0 / 0.5628 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003574/0.3634, allocations: 127.7 kB / 0.5629 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.3638, allocations: 131.5 kB / 0.5631 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.3641, allocations: 111.7 kB / 0.5632 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.3643, allocations: 99.72 kB / 0.5633 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3644, allocations: 17.81 kB / 0.5633 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.477e-05/0.3645, allocations: 39.89 kB / 0.5633 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.3647, allocations: 107.7 kB / 0.5634 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.3647, allocations: 4 kB / 0.5634 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.653e-05/0.3648, allocations: 39.98 kB / 0.5635 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.865e-05/0.3649, allocations: 31.91 kB / 0.5635 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.247e-05/0.3649, allocations: 35.69 kB / 0.5635 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.3652, allocations: 123.4 kB / 0.5636 GB, free: 1.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3652, allocations: 0 / 0.5636 GB, free: 1.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3652, allocations: 3.938 kB / 0.5636 GB, free: 1.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.3652, allocations: 0 / 0.5636 GB, free: 1.406 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005213/0.3657, allocations: 369.4 kB / 0.564 GB, free: 1.016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3657, allocations: 8.031 kB / 0.564 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.083e-05/0.3658, allocations: 38.73 kB / 0.564 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.3658, allocations: 12.84 kB / 0.5641 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.366, allocations: 162.4 kB / 0.5642 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.366, allocations: 4.375 kB / 0.5642 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.3661, allocations: 4.375 kB / 0.5642 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.3662, allocations: 61.55 kB / 0.5643 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3663, allocations: 4 kB / 0.5643 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-06/0.3663, allocations: 0 / 0.5643 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.3663, allocations: 4 kB / 0.5643 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.3664, allocations: 27.97 kB / 0.5643 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.3668, allocations: 275.9 kB / 0.5646 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.3669, allocations: 50.5 kB / 0.5646 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.882e-05/0.367, allocations: 20.94 kB / 0.5646 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.367, allocations: 4 kB / 0.5647 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.367, allocations: 30.56 kB / 0.5647 GB, free: 224 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.367, allocations: 0 / 0.5647 GB, free: 224 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000935/0.368, allocations: 257.6 kB / 0.5649 GB, free: 15.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.368, allocations: 55.34 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.3683, allocations: 283.5 kB / 0.5652 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.3683, allocations: 25.7 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.331e-05/0.3684, allocations: 112.1 kB / 0.5654 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.3684, allocations: 27.75 kB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.3685, allocations: 25.64 kB / 0.5654 GB, free: 15.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3686, allocations: 334.8 kB / 0.5657 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.188e-05/0.3687, allocations: 23.98 kB / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.578e-05/0.3688, allocations: 36.03 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.3689, allocations: 76.88 kB / 0.5659 GB, free: 14.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3689, allocations: 0 / 0.5659 GB, free: 14.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002237/0.3692, allocations: 117.6 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3692, allocations: 8 kB / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3692, allocations: 4 kB / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3692, allocations: 0 / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.3693, allocations: 19.92 kB / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.3693, allocations: 7.938 kB / 0.566 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.016e-05/0.3693, allocations: 0 / 0.566 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.3693, allocations: 4 kB / 0.566 GB, free: 14.76 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 (8): * Single equations (assignments): 8 * 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.0001126/0.3695, allocations: 135.1 kB / 0.5662 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.3695, allocations: 23.89 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002897/0.3698, allocations: 127 kB / 0.5663 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3698, allocations: 0 / 0.5663 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.3698, allocations: 7.875 kB / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.3698, allocations: 7.984 kB / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00056/0.3704, allocations: 402.3 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.3704, allocations: 3.938 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.941e-05/0.3704, allocations: 15.98 kB / 0.5667 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3704, allocations: 4 kB / 0.5667 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.3704, allocations: 0 / 0.5667 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3705, allocations: 0 / 0.5667 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3705, allocations: 0 / 0.5667 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.3707, allocations: 224.6 kB / 0.5669 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.725e-05/0.3708, allocations: 19.83 kB / 0.567 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.3708, allocations: 4 kB / 0.567 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.621e-05/0.3709, allocations: 7.938 kB / 0.567 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.3709, allocations: 11.97 kB / 0.567 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.3709, allocations: 4 kB / 0.567 GB, free: 13.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001848/0.3711, allocations: 212.1 kB / 0.5672 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3711, allocations: 0 / 0.5672 GB, free: 13.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000251/0.3713, allocations: 23.94 kB / 0.5672 GB, free: 13.46 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 (8): * Single equations (assignments): 8 * 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.002126/0.3735, allocations: 1.117 MB / 0.5683 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.3737, allocations: 67.95 kB / 0.5684 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3737, allocations: 0 / 0.5684 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.401e-05/0.3738, allocations: 39.98 kB / 0.5684 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.3741, allocations: 25.45 kB / 0.5684 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.3763, allocations: 1.851 MB / 0.5702 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.3766, allocations: 0.7236 MB / 0.5709 GB, free: 9.684 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.898e-05/0.3767, allocations: 24.89 kB / 0.571 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.036e-05/0.3767, allocations: 43.42 kB / 0.571 GB, free: 9.613 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3767, allocations: 0 / 0.571 GB, free: 9.613 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.4055, allocations: 3.623 MB / 0.5745 GB, free: 6.055 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.32, allocations: 11.06 kB / 0.5746 GB, free: 6.047 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.319218484917656]