Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001412/0.001412, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.001541/0.001541, allocations: 214.9 kB / 24.51 MB, free: 3.688 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.528/1.528, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2324/0.2324, allocations: 44.94 MB / 359.6 MB, free: 6.062 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.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",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.002078/0.002078, allocations: 67.91 kB / 0.4938 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3737, allocations: 65.47 MB / 0.5577 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003511/0.3772, allocations: 1.616 MB / 0.5593 GB, free: 5.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.3784, allocations: 0.5378 MB / 0.5598 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.549e-05/0.3784, allocations: 0 / 0.5598 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007403/0.3792, allocations: 455.1 kB / 0.5603 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005575/0.3797, allocations: 299.3 kB / 0.5606 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004858/0.3802, allocations: 179 kB / 0.5607 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.3805, allocations: 175.6 kB / 0.5609 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.3806, allocations: 8 kB / 0.5609 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.3808, allocations: 115.7 kB / 0.561 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/0.3811, allocations: 251.5 kB / 0.5613 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.3811, allocations: 4 kB / 0.5613 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.833e-05/0.3812, allocations: 31.98 kB / 0.5613 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.3813, allocations: 88.66 kB / 0.5614 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.728e-05/0.3814, allocations: 67.25 kB / 0.5614 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.3817, allocations: 264.4 kB / 0.5617 GB, free: 3.504 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3817, allocations: 4 kB / 0.5617 GB, free: 3.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3817, allocations: 0 / 0.5617 GB, free: 3.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.3817, allocations: 0 / 0.5617 GB, free: 3.5 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.0008231/0.3826, allocations: 0.5854 MB / 0.5623 GB, free: 2.883 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3826, allocations: 12.03 kB / 0.5623 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.606e-05/0.3826, allocations: 8.188 kB / 0.5623 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.142e-05/0.3827, allocations: 34.75 kB / 0.5623 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.688e-05/0.3827, allocations: 44.66 kB / 0.5624 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.383, allocations: 246.8 kB / 0.5626 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.383, allocations: 384 / 0.5626 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.383, allocations: 8.125 kB / 0.5626 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.3832, allocations: 53.67 kB / 0.5627 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3832, allocations: 0 / 0.5627 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.3832, allocations: 3.984 kB / 0.5627 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3832, allocations: 4 kB / 0.5627 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.3834, allocations: 43.91 kB / 0.5627 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005157/0.3839, allocations: 359.8 kB / 0.563 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.384, allocations: 38.56 kB / 0.5631 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.662e-05/0.3841, allocations: 28.92 kB / 0.5631 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.3841, allocations: 3.984 kB / 0.5631 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.3842, allocations: 38.5 kB / 0.5631 GB, free: 1.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3842, allocations: 0 / 0.5631 GB, free: 1.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003609/0.3845, allocations: 133.4 kB / 0.5633 GB, free: 1.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.3846, allocations: 51.41 kB / 0.5633 GB, free: 1.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009077/0.3855, allocations: 0.8737 MB / 0.5642 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.3855, allocations: 29.64 kB / 0.5642 GB, free: 0.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.3857, allocations: 220 kB / 0.5644 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.3857, allocations: 11.89 kB / 0.5644 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.3857, allocations: 17.72 kB / 0.5644 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.3859, allocations: 362.7 kB / 0.5648 GB, free: 136 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.727e-05/0.386, allocations: 15.98 kB / 0.5648 GB, free: 120 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.556e-05/0.3861, allocations: 31.91 kB / 0.5648 GB, free: 88 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.3862, allocations: 44.83 kB / 0.5649 GB, free: 40 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3862, allocations: 0 / 0.5649 GB, free: 40 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002227/0.3864, allocations: 109.4 kB / 0.565 GB, free: 15.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3864, allocations: 4 kB / 0.565 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3864, allocations: 0 / 0.565 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3864, allocations: 0 / 0.565 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.281e-05/0.3865, allocations: 15.98 kB / 0.565 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3865, allocations: 0 / 0.565 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.084e-05/0.3866, allocations: 4 kB / 0.565 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.3866, allocations: 4 kB / 0.565 GB, free: 15.9 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 (3): * Single equations (assignments): 3 * 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.000203/0.3868, allocations: 217.6 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-05/0.3869, allocations: 43.72 kB / 0.5653 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.3872, allocations: 129.2 kB / 0.5654 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3872, allocations: 0 / 0.5654 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3872, allocations: 4 kB / 0.5654 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3872, allocations: 0 / 0.5654 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.3875, allocations: 260.6 kB / 0.5656 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.3875, allocations: 8 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.127e-05/0.3875, allocations: 4 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3875, allocations: 0 / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.3875, allocations: 7.984 kB / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3875, allocations: 0 / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3875, allocations: 0 / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.3878, allocations: 219.4 kB / 0.5659 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/0.3879, allocations: 39.72 kB / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.3879, allocations: 0 / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.135e-05/0.388, allocations: 7.984 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.898e-05/0.388, allocations: 48 / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.388, allocations: 3.984 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006524/0.3887, allocations: 0.6628 MB / 0.5666 GB, free: 14.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3887, allocations: 0 / 0.5666 GB, free: 14.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.3889, allocations: 27.88 kB / 0.5666 GB, free: 14.2 MB / 414.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 (3): * Single equations (assignments): 3 * 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.001837/0.3908, allocations: 1.015 MB / 0.5676 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.391, allocations: 35.97 kB / 0.5676 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.391, allocations: 4 kB / 0.5676 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.852e-05/0.391, allocations: 23.97 kB / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.3915, allocations: 23.94 kB / 0.5677 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003795/0.3953, allocations: 3.225 MB / 0.5708 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.3955, allocations: 220.1 kB / 0.571 GB, free: 9.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.43e-05/0.3956, allocations: 19.73 kB / 0.571 GB, free: 9.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.3957, allocations: 111.4 kB / 0.5711 GB, free: 9.555 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3957, allocations: 3.938 kB / 0.5711 GB, free: 9.551 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/0.4238, allocations: 6.07 MB / 0.5771 GB, free: 3.535 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.29, allocations: 10.47 kB / 0.5771 GB, free: 3.527 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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: 15.516638480010442]