Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001277/0.001277, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001385/0.001385, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.556/1.556, 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.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.2581/0.2581, allocations: 46.96 MB / 361.6 MB, free: 4.031 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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 75.88 kB / 0.4969 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3998, allocations: 66.03 MB / 0.5614 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.005045/0.4049, allocations: 1.629 MB / 0.563 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.4064, allocations: 0.5309 MB / 0.5635 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.4066, allocations: 4 kB / 0.5635 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004214/0.407, allocations: 95.67 kB / 0.5636 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005149/0.4075, allocations: 115.6 kB / 0.5637 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.4079, allocations: 103.4 kB / 0.5638 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002803/0.4082, allocations: 103.7 kB / 0.5639 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.4084, allocations: 13.83 kB / 0.5639 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.4085, allocations: 43.89 kB / 0.5639 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.4087, allocations: 75.67 kB / 0.564 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.4087, allocations: 4 kB / 0.564 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.4088, allocations: 43.98 kB / 0.5641 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.617e-05/0.4089, allocations: 35.89 kB / 0.5641 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.369e-05/0.409, allocations: 27.75 kB / 0.5641 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.4093, allocations: 131.4 kB / 0.5643 GB, free: 1.285 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.4093, allocations: 0 / 0.5643 GB, free: 1.285 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4093, allocations: 3.938 kB / 0.5643 GB, free: 1.281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.4093, allocations: 0 / 0.5643 GB, free: 1.281 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000734/0.4101, allocations: 357.5 kB / 0.5646 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.4101, allocations: 12.03 kB / 0.5646 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.718e-05/0.4101, allocations: 192 / 0.5646 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.846e-05/0.4102, allocations: 38.75 kB / 0.5646 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.726e-05/0.4103, allocations: 16.83 kB / 0.5647 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.4106, allocations: 150.8 kB / 0.5648 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.4106, allocations: 8.375 kB / 0.5648 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.4106, allocations: 8.125 kB / 0.5648 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.4109, allocations: 73.59 kB / 0.5649 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.4109, allocations: 7.953 kB / 0.5649 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.4109, allocations: 4 kB / 0.5649 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.4109, allocations: 0 / 0.5649 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.4111, allocations: 39.91 kB / 0.5649 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005909/0.4117, allocations: 291.8 kB / 0.5652 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.4119, allocations: 62.48 kB / 0.5653 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.366e-05/0.412, allocations: 32.84 kB / 0.5653 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.412, allocations: 0 / 0.5653 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.412, allocations: 30.56 kB / 0.5653 GB, free: 40 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.412, allocations: 0 / 0.5653 GB, free: 40 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001561/0.4136, allocations: 309.3 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.4136, allocations: 59.34 kB / 0.5657 GB, free: 15.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/0.414, allocations: 235.5 kB / 0.5659 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.4141, allocations: 33.7 kB / 0.5659 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.4142, allocations: 112 kB / 0.5661 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.559e-05/0.4142, allocations: 47.78 kB / 0.5661 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.571e-05/0.4143, allocations: 29.7 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.4145, allocations: 326.8 kB / 0.5664 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.4146, allocations: 39.97 kB / 0.5665 GB, free: 14.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.4148, allocations: 35.98 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.4151, allocations: 92.83 kB / 0.5666 GB, free: 14.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4151, allocations: 0 / 0.5666 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004224/0.4155, allocations: 137.5 kB / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.4155, allocations: 4.109 kB / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.4155, allocations: 7.875 kB / 0.5667 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.4156, allocations: 7.984 kB / 0.5667 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.4158, allocations: 27.98 kB / 0.5668 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.4158, allocations: 0 / 0.5668 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.174e-05/0.4158, allocations: 8 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.4159, allocations: 4 kB / 0.5668 GB, free: 14.48 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.0001725/0.416, allocations: 133.8 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.576e-05/0.4161, allocations: 15.91 kB / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005427/0.4167, allocations: 167.2 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4167, allocations: 0 / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.4167, allocations: 4 kB / 0.5671 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.4167, allocations: 7.984 kB / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009599/0.4176, allocations: 426.2 kB / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.4176, allocations: 3.984 kB / 0.5675 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.4178, allocations: 35.92 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.4178, allocations: 0 / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.4178, allocations: 0 / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.4178, allocations: 4 kB / 0.5675 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4178, allocations: 3.938 kB / 0.5676 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.4181, allocations: 244.2 kB / 0.5678 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.461e-05/0.4182, allocations: 15.89 kB / 0.5678 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.4182, allocations: 0 / 0.5678 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/0.4183, allocations: 12 kB / 0.5678 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.4183, allocations: 15.91 kB / 0.5678 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.4183, allocations: 4 kB / 0.5678 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001816/0.4185, allocations: 189.1 kB / 0.568 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4185, allocations: 0 / 0.568 GB, free: 13.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.4188, allocations: 20 kB / 0.568 GB, free: 13.12 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.002426/0.4212, allocations: 1.173 MB / 0.5692 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002741/0.4215, allocations: 95.58 kB / 0.5693 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4215, allocations: 0 / 0.5693 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.4216, allocations: 47.91 kB / 0.5693 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.422, allocations: 27.7 kB / 0.5693 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/0.4244, allocations: 1.845 MB / 0.5711 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.4245, allocations: 113.5 kB / 0.5712 GB, free: 9.906 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.47e-05/0.4246, allocations: 16.48 kB / 0.5713 GB, free: 9.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.407e-05/0.4247, allocations: 47.36 kB / 0.5713 GB, free: 9.848 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4247, allocations: 4 kB / 0.5713 GB, free: 9.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.4481, allocations: 3.779 MB / 0.575 GB, free: 6.129 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.92, allocations: 10.47 kB / 0.575 GB, free: 6.121 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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: 15.21027924597729]