Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001656/0.001656, 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.001939/0.001939, allocations: 212.2 kB / 24.53 MB, free: 4.066 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.615/1.615, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.2423/0.2423, allocations: 46.93 MB / 361.7 MB, free: 4.234 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.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002412/0.002412, allocations: 68.11 kB / 0.497 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3962, allocations: 66.03 MB / 0.5614 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.00356/0.3998, allocations: 1.617 MB / 0.563 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.401, allocations: 0.5465 MB / 0.5635 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.389e-05/0.401, allocations: 0 / 0.5635 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.4012, allocations: 19.86 kB / 0.5636 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002883/0.4015, allocations: 83.61 kB / 0.5636 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.4018, allocations: 87.77 kB / 0.5637 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.402, allocations: 67.83 kB / 0.5638 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.4021, allocations: 5.828 kB / 0.5638 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.81e-05/0.4021, allocations: 27.8 kB / 0.5638 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.693e-05/0.4022, allocations: 31.84 kB / 0.5639 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.4022, allocations: 3.938 kB / 0.5639 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.667e-05/0.4023, allocations: 28 kB / 0.5639 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.197e-05/0.4024, allocations: 15.92 kB / 0.5639 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.68e-05/0.4024, allocations: 23.88 kB / 0.5639 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.4026, allocations: 83.58 kB / 0.564 GB, free: 1.777 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4026, allocations: 4 kB / 0.564 GB, free: 1.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4026, allocations: 0 / 0.564 GB, free: 1.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.4026, allocations: 0 / 0.564 GB, free: 1.773 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.00045/0.4031, allocations: 309.8 kB / 0.5643 GB, free: 1.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.4031, allocations: 12.02 kB / 0.5643 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.371e-05/0.4031, allocations: 4.188 kB / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.975e-05/0.4032, allocations: 34.75 kB / 0.5644 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.4032, allocations: 12.89 kB / 0.5644 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.4034, allocations: 133.1 kB / 0.5645 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.016e-06/0.4034, allocations: 384 / 0.5645 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.4034, allocations: 12.12 kB / 0.5645 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.4035, allocations: 45.67 kB / 0.5645 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.4036, allocations: 4 kB / 0.5645 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.4036, allocations: 3.938 kB / 0.5646 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.4036, allocations: 3.938 kB / 0.5646 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.178e-05/0.4037, allocations: 19.98 kB / 0.5646 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.404, allocations: 251.9 kB / 0.5648 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.4042, allocations: 38.56 kB / 0.5649 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.765e-05/0.4043, allocations: 20.88 kB / 0.5649 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.4043, allocations: 4 kB / 0.5649 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.4043, allocations: 34.56 kB / 0.5649 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4043, allocations: 0 / 0.5649 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005798/0.4049, allocations: 137.4 kB / 0.565 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.405, allocations: 51.41 kB / 0.5651 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.4051, allocations: 152 kB / 0.5652 GB, free: 364 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.4051, allocations: 29.7 kB / 0.5653 GB, free: 328 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.108e-05/0.4052, allocations: 96.08 kB / 0.5654 GB, free: 228 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.4052, allocations: 23.84 kB / 0.5654 GB, free: 204 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.4053, allocations: 17.72 kB / 0.5654 GB, free: 180 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.4054, allocations: 326.8 kB / 0.5657 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.992e-05/0.4055, allocations: 11.98 kB / 0.5657 GB, free: 15.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.003e-05/0.4056, allocations: 19.98 kB / 0.5657 GB, free: 15.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.4057, allocations: 52.83 kB / 0.5658 GB, free: 15.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.4057, allocations: 0 / 0.5658 GB, free: 15.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001895/0.4059, allocations: 81.56 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.4059, allocations: 4 kB / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.4059, allocations: 0 / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.4059, allocations: 4.219 kB / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.871e-05/0.406, allocations: 16.23 kB / 0.5659 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.406, allocations: 0 / 0.5659 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.586e-05/0.4061, allocations: 15.94 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.4061, allocations: 0 / 0.5659 GB, free: 15.64 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 (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.783e-05/0.4062, allocations: 117.8 kB / 0.566 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.4062, allocations: 11.94 kB / 0.566 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.4065, allocations: 97.98 kB / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.4065, allocations: 0 / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4065, allocations: 0 / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.4065, allocations: 3.938 kB / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004501/0.4069, allocations: 321.6 kB / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4069, allocations: 0 / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.173e-05/0.407, allocations: 15.94 kB / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.407, allocations: 0 / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.407, allocations: 3.938 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.407, allocations: 0 / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.407, allocations: 3.984 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.4072, allocations: 175.5 kB / 0.5666 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.122e-05/0.4073, allocations: 7.953 kB / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.4073, allocations: 3.938 kB / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.351e-05/0.4074, allocations: 7.984 kB / 0.5666 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.4074, allocations: 8 kB / 0.5666 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.4074, allocations: 0 / 0.5666 GB, free: 14.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.4075, allocations: 117.5 kB / 0.5668 GB, free: 14.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4075, allocations: 4 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.4077, allocations: 15.94 kB / 0.5668 GB, free: 14.65 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 (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.001924/0.4097, allocations: 1.022 MB / 0.5678 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.4099, allocations: 43.91 kB / 0.5678 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.4099, allocations: 3.938 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.893e-05/0.41, allocations: 27.92 kB / 0.5678 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.4103, allocations: 17.61 kB / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.4122, allocations: 1.438 MB / 0.5693 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.4126, allocations: 0.6899 MB / 0.5699 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.617e-05/0.4126, allocations: 19.77 kB / 0.57 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.4127, allocations: 23.42 kB / 0.57 GB, free: 11.39 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4127, allocations: 0 / 0.57 GB, free: 11.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.4352, allocations: 2.737 MB / 0.5727 GB, free: 8.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.77, allocations: 0 / 0.5727 GB, free: 8.73 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.120231367996894]