Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.2 kB / 20.43 MB, free: 1.309 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.002462/0.002462, allocations: 214.6 kB / 23.74 MB, free: 4.535 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.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2261/0.2261, allocations: 44.92 MB / 358.8 MB, free: 6.285 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.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",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.003246/0.003246, allocations: 67.88 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3713, allocations: 65.48 MB / 0.557 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002882/0.3742, allocations: 1.612 MB / 0.5586 GB, free: 6.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.3761, allocations: 1.267 MB / 0.5599 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.818e-05/0.3761, allocations: 0 / 0.5599 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.3763, allocations: 31.78 kB / 0.5599 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.3766, allocations: 87.61 kB / 0.56 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.3769, allocations: 107.7 kB / 0.5601 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.377, allocations: 67.77 kB / 0.5601 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.94e-05/0.3771, allocations: 17.77 kB / 0.5602 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.515e-05/0.3772, allocations: 27.84 kB / 0.5602 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.3773, allocations: 35.84 kB / 0.5602 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.3773, allocations: 4 kB / 0.5602 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.3775, allocations: 99.94 kB / 0.5603 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.3775, allocations: 15.92 kB / 0.5603 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.914e-05/0.3776, allocations: 27.8 kB / 0.5604 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.3778, allocations: 139.5 kB / 0.5605 GB, free: 4.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3778, allocations: 3.984 kB / 0.5605 GB, free: 4.246 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3778, allocations: 0 / 0.5605 GB, free: 4.246 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3778, allocations: 0 / 0.5605 GB, free: 4.246 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004936/0.3783, allocations: 325.7 kB / 0.5608 GB, free: 3.898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3783, allocations: 8.031 kB / 0.5608 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.741e-05/0.3784, allocations: 38.75 kB / 0.5608 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.3784, allocations: 8.891 kB / 0.5609 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.3786, allocations: 146.3 kB / 0.561 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.681e-06/0.3786, allocations: 384 / 0.561 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.3786, allocations: 4.375 kB / 0.561 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.3788, allocations: 67.33 kB / 0.5611 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3788, allocations: 0 / 0.5611 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.088e-06/0.3788, allocations: 0 / 0.5611 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3788, allocations: 0 / 0.5611 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.233e-05/0.3789, allocations: 27.98 kB / 0.5611 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.3793, allocations: 259.9 kB / 0.5613 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.3795, allocations: 46.55 kB / 0.5614 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.675e-05/0.3796, allocations: 16.94 kB / 0.5614 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.3796, allocations: 8 kB / 0.5614 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.3796, allocations: 30.56 kB / 0.5614 GB, free: 3.141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3796, allocations: 0 / 0.5614 GB, free: 3.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005923/0.3802, allocations: 149.4 kB / 0.5616 GB, free: 2.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.3803, allocations: 77.11 kB / 0.5616 GB, free: 2.895 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.3804, allocations: 149.8 kB / 0.5618 GB, free: 2.738 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.3805, allocations: 29.7 kB / 0.5618 GB, free: 2.703 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.7e-05/0.3805, allocations: 96.02 kB / 0.5619 GB, free: 2.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.3805, allocations: 19.86 kB / 0.5619 GB, free: 2.586 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.3806, allocations: 17.7 kB / 0.5619 GB, free: 2.562 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.3807, allocations: 322.8 kB / 0.5623 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.603e-05/0.3808, allocations: 23.97 kB / 0.5623 GB, free: 2.215 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.212e-05/0.3809, allocations: 37.7 kB / 0.5623 GB, free: 2.172 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.381, allocations: 48.83 kB / 0.5624 GB, free: 2.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.381, allocations: 0 / 0.5624 GB, free: 2.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002026/0.3812, allocations: 85.61 kB / 0.5624 GB, free: 2.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3813, allocations: 14.28 kB / 0.5625 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3813, allocations: 3.938 kB / 0.5625 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3813, allocations: 0 / 0.5625 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.397e-05/0.3813, allocations: 19.95 kB / 0.5625 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.3813, allocations: 4 kB / 0.5625 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.3814, allocations: 3.938 kB / 0.5625 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.3814, allocations: 8 kB / 0.5625 GB, free: 1.98 MB / 398.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 (5): * Single equations (assignments): 5 * 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 9.891e-05/0.3815, allocations: 121.8 kB / 0.5626 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.3815, allocations: 7.953 kB / 0.5626 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.3818, allocations: 90.38 kB / 0.5627 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3818, allocations: 8 kB / 0.5627 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3818, allocations: 0 / 0.5627 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.3818, allocations: 11.92 kB / 0.5627 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004606/0.3823, allocations: 325.6 kB / 0.563 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3823, allocations: 0 / 0.563 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.931e-05/0.3823, allocations: 15.98 kB / 0.563 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3823, allocations: 0 / 0.563 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.3823, allocations: 3.938 kB / 0.5631 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3823, allocations: 4 kB / 0.5631 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.3823, allocations: 0 / 0.5631 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.3826, allocations: 187.4 kB / 0.5632 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.021e-05/0.3826, allocations: 11.94 kB / 0.5632 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.3826, allocations: 3.938 kB / 0.5633 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.498e-05/0.3827, allocations: 4 kB / 0.5633 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.3827, allocations: 11.98 kB / 0.5633 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.3827, allocations: 4 kB / 0.5633 GB, free: 1.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.728e-05/0.3828, allocations: 107.3 kB / 0.5634 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3828, allocations: 0 / 0.5634 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.3831, allocations: 39.86 kB / 0.5634 GB, free: 0.9492 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.002183/0.3853, allocations: 1.118 MB / 0.5645 GB, free: 0 / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002973/0.3856, allocations: 48.17 kB / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3856, allocations: 4 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.189e-05/0.3857, allocations: 31.91 kB / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.386, allocations: 18.69 kB / 0.5646 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.3878, allocations: 1.458 MB / 0.566 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.3882, allocations: 0.6885 MB / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.077e-05/0.3882, allocations: 19.77 kB / 0.5667 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.985e-05/0.3883, allocations: 23.42 kB / 0.5667 GB, free: 13.61 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3883, allocations: 0 / 0.5667 GB, free: 13.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.4191, allocations: 3.418 MB / 0.5701 GB, free: 10.22 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.53, allocations: 0 / 0.5701 GB, free: 10.22 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.50806695013307]