Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001261/0.001261, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001671/0.001671, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2304/0.2304, allocations: 44.93 MB / 359.6 MB, free: 6.051 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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="cs",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.002022/0.002022, allocations: 59.91 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3426, allocations: 65.48 MB / 0.5577 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003167/0.3458, allocations: 1.595 MB / 0.5593 GB, free: 5.934 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.3468, allocations: 0.5232 MB / 0.5598 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.707e-05/0.3469, allocations: 0 / 0.5598 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.347, allocations: 19.84 kB / 0.5598 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.3473, allocations: 83.62 kB / 0.5599 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.3477, allocations: 119.4 kB / 0.56 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.3478, allocations: 67.77 kB / 0.5601 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3479, allocations: 9.828 kB / 0.5601 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.454e-05/0.348, allocations: 27.86 kB / 0.5601 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.145e-05/0.3481, allocations: 19.86 kB / 0.5601 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.3481, allocations: 4 kB / 0.5601 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.011e-05/0.3482, allocations: 35.98 kB / 0.5602 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.873e-05/0.3482, allocations: 19.92 kB / 0.5602 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.781e-05/0.3483, allocations: 23.75 kB / 0.5602 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.3484, allocations: 83.64 kB / 0.5603 GB, free: 4.906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3484, allocations: 0 / 0.5603 GB, free: 4.906 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3484, allocations: 0 / 0.5603 GB, free: 4.906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.3485, allocations: 4 kB / 0.5603 GB, free: 4.902 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.0005011/0.349, allocations: 320.2 kB / 0.5606 GB, free: 4.562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.349, allocations: 12.03 kB / 0.5606 GB, free: 4.551 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.317e-05/0.349, allocations: 192 / 0.5606 GB, free: 4.551 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.048e-05/0.349, allocations: 30.75 kB / 0.5607 GB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.3491, allocations: 12.83 kB / 0.5607 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.3493, allocations: 134.4 kB / 0.5608 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.3493, allocations: 4.375 kB / 0.5608 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.3493, allocations: 4.125 kB / 0.5608 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.3494, allocations: 53.67 kB / 0.5609 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3494, allocations: 4 kB / 0.5609 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.3494, allocations: 0 / 0.5609 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3494, allocations: 4 kB / 0.5609 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.295e-05/0.3495, allocations: 23.92 kB / 0.5609 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/0.3499, allocations: 251.9 kB / 0.5611 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.3501, allocations: 46.56 kB / 0.5612 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/0.3502, allocations: 12.94 kB / 0.5612 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.3502, allocations: 7.938 kB / 0.5612 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.3502, allocations: 34.56 kB / 0.5612 GB, free: 3.836 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3502, allocations: 4 kB / 0.5612 GB, free: 3.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005594/0.3508, allocations: 153.6 kB / 0.5614 GB, free: 3.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.3508, allocations: 55.41 kB / 0.5614 GB, free: 3.609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.351, allocations: 167.8 kB / 0.5616 GB, free: 3.438 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.351, allocations: 25.7 kB / 0.5616 GB, free: 3.406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.3511, allocations: 96.12 kB / 0.5617 GB, free: 3.309 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.3511, allocations: 23.8 kB / 0.5617 GB, free: 3.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/0.3512, allocations: 21.72 kB / 0.5617 GB, free: 3.258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3513, allocations: 318.8 kB / 0.562 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.12e-05/0.3514, allocations: 19.98 kB / 0.5621 GB, free: 2.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.454e-05/0.3514, allocations: 23.97 kB / 0.5621 GB, free: 2.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.3516, allocations: 48.83 kB / 0.5621 GB, free: 2.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3516, allocations: 0 / 0.5621 GB, free: 2.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001951/0.3518, allocations: 89.56 kB / 0.5622 GB, free: 2.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.3518, allocations: 11.98 kB / 0.5622 GB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3518, allocations: 0 / 0.5622 GB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.3518, allocations: 4 kB / 0.5622 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.533e-05/0.3519, allocations: 8 kB / 0.5622 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.3519, allocations: 3.938 kB / 0.5622 GB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.134e-05/0.3519, allocations: 11.92 kB / 0.5623 GB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.3519, allocations: 7.938 kB / 0.5623 GB, free: 2.703 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.177e-05/0.352, allocations: 117.8 kB / 0.5624 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.3521, allocations: 7.953 kB / 0.5624 GB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002814/0.3523, allocations: 110.2 kB / 0.5625 GB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3523, allocations: 0 / 0.5625 GB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3523, allocations: 3.938 kB / 0.5625 GB, free: 2.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3523, allocations: 0 / 0.5625 GB, free: 2.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004859/0.3528, allocations: 321.7 kB / 0.5628 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3528, allocations: 0 / 0.5628 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.292e-05/0.3529, allocations: 11.98 kB / 0.5628 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3529, allocations: 3.938 kB / 0.5628 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.3529, allocations: 8 kB / 0.5628 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3529, allocations: 3.938 kB / 0.5628 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3529, allocations: 0 / 0.5628 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.3532, allocations: 179.5 kB / 0.563 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.677e-05/0.3532, allocations: 11.89 kB / 0.563 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.3532, allocations: 4 kB / 0.563 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.3533, allocations: 7.984 kB / 0.563 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.3533, allocations: 0 / 0.563 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.3533, allocations: 4 kB / 0.563 GB, free: 1.832 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.3534, allocations: 128.6 kB / 0.5632 GB, free: 1.707 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3534, allocations: 0 / 0.5632 GB, free: 1.707 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.3537, allocations: 19.94 kB / 0.5632 GB, free: 1.688 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.002035/0.3557, allocations: 1.055 MB / 0.5642 GB, free: 0.793 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.3559, allocations: 47.97 kB / 0.5642 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3559, allocations: 4 kB / 0.5642 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.135e-05/0.356, allocations: 31.91 kB / 0.5643 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.3564, allocations: 12 kB / 0.5643 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.3582, allocations: 1.488 MB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.257e-05/0.3582, allocations: 83.31 kB / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.677e-05/0.3583, allocations: 19.83 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.405e-05/0.3584, allocations: 23.44 kB / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3584, allocations: 0 / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.3808, allocations: 2.877 MB / 0.5687 GB, free: 12.17 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.72, allocations: 4.062 kB / 0.5687 GB, free: 12.16 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.932423976948485]