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.001794/0.001794, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.00259/0.00259, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.542/1.542, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.2792/0.2792, allocations: 46.94 MB / 361.7 MB, free: 4.242 MB / 286.1 MB " [Timeout remaining time 179] 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.00214/0.00214, allocations: 63.89 kB / 0.4969 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3868, allocations: 66.03 MB / 0.5614 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003616/0.3904, allocations: 1.68 MB / 0.5631 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.3916, allocations: 0.5621 MB / 0.5636 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.325e-05/0.3916, allocations: 4 kB / 0.5636 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.392, allocations: 91.69 kB / 0.5637 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.3923, allocations: 107.6 kB / 0.5638 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.3926, allocations: 95.69 kB / 0.5639 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.3928, allocations: 107.7 kB / 0.564 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3929, allocations: 16 kB / 0.564 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.057e-05/0.393, allocations: 51.77 kB / 0.5641 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.3931, allocations: 67.78 kB / 0.5641 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.3931, allocations: 8 kB / 0.5641 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.3932, allocations: 43.94 kB / 0.5642 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.144e-05/0.3933, allocations: 35.84 kB / 0.5642 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.013e-05/0.3934, allocations: 35.69 kB / 0.5643 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.3936, allocations: 131.4 kB / 0.5644 GB, free: 1.395 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3936, allocations: 0 / 0.5644 GB, free: 1.395 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3936, allocations: 0 / 0.5644 GB, free: 1.395 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3936, allocations: 0 / 0.5644 GB, free: 1.395 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.0005907/0.3942, allocations: 369.4 kB / 0.5647 GB, free: 1.004 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.3943, allocations: 8.031 kB / 0.5647 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.561e-05/0.3943, allocations: 192 / 0.5647 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.064e-05/0.3943, allocations: 38.75 kB / 0.5648 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.3943, allocations: 16.83 kB / 0.5648 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.3946, allocations: 150.8 kB / 0.5649 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.3946, allocations: 8.375 kB / 0.5649 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.3946, allocations: 16.11 kB / 0.565 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.3948, allocations: 73.61 kB / 0.565 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.3948, allocations: 7.891 kB / 0.565 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3948, allocations: 0 / 0.565 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3948, allocations: 0 / 0.565 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.3949, allocations: 39.97 kB / 0.5651 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.3954, allocations: 295.8 kB / 0.5654 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.3956, allocations: 70.48 kB / 0.5654 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.121e-05/0.3956, allocations: 24.84 kB / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.3956, allocations: 0 / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.3957, allocations: 30.67 kB / 0.5655 GB, free: 140 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 9.21e-07/0.3957, allocations: 3.938 kB / 0.5655 GB, free: 136 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001178/0.3969, allocations: 313.8 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.3969, allocations: 59.34 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.3972, allocations: 231.6 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.3972, allocations: 25.7 kB / 0.5661 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.461e-05/0.3973, allocations: 116 kB / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.987e-05/0.3974, allocations: 43.64 kB / 0.5662 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.3974, allocations: 29.72 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.3976, allocations: 330.8 kB / 0.5666 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.589e-05/0.3977, allocations: 31.98 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.798e-05/0.3978, allocations: 43.34 kB / 0.5667 GB, free: 14.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.398, allocations: 84.83 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.398, allocations: 0 / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002837/0.3983, allocations: 141.6 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3983, allocations: 7.938 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3983, allocations: 7.875 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3983, allocations: 0 / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.3985, allocations: 27.98 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3985, allocations: 240 / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.137e-05/0.3985, allocations: 11.98 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.3985, allocations: 0 / 0.5669 GB, free: 14.59 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.0001417/0.3987, allocations: 141.8 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/0.3987, allocations: 11.91 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004046/0.3991, allocations: 171 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.3991, allocations: 4 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3991, allocations: 0 / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3991, allocations: 0 / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006868/0.3998, allocations: 462 kB / 0.5677 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3998, allocations: 0 / 0.5677 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.449e-05/0.3999, allocations: 27.92 kB / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3999, allocations: 3.984 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.3999, allocations: 7.984 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3999, allocations: 0 / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3999, allocations: 0 / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.4003, allocations: 247.8 kB / 0.568 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.4003, allocations: 11.91 kB / 0.568 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.4003, allocations: 11.98 kB / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.441e-05/0.4004, allocations: 0 / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.4004, allocations: 7.984 kB / 0.568 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.4004, allocations: 4 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001894/0.4006, allocations: 197.1 kB / 0.5682 GB, free: 13.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4006, allocations: 0 / 0.5682 GB, free: 13.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.4009, allocations: 20 kB / 0.5682 GB, free: 13.2 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.002335/0.4032, allocations: 1.131 MB / 0.5693 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003023/0.4035, allocations: 95.89 kB / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4035, allocations: 0 / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.4037, allocations: 55.84 kB / 0.5694 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.4041, allocations: 28.47 kB / 0.5695 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.407, allocations: 1.838 MB / 0.5713 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.4075, allocations: 0.7242 MB / 0.572 GB, free: 9.375 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.533e-05/0.4075, allocations: 24.47 kB / 0.572 GB, free: 9.352 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.638e-05/0.4076, allocations: 43.42 kB / 0.572 GB, free: 9.312 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4076, allocations: 0 / 0.572 GB, free: 9.312 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02522/0.4329, allocations: 3.748 MB / 0.5757 GB, free: 5.641 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.77, allocations: 10.41 kB / 0.5757 GB, free: 5.633 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.083537439000793]