Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001907/0.001907, allocations: 105.1 kB / 21.21 MB, free: 0.6484 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.002123/0.002123, allocations: 212.5 kB / 24.51 MB, free: 3.938 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.548/1.548, 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.244/0.244, allocations: 46.97 MB / 361.7 MB, free: 4.059 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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 75.88 kB / 0.4969 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3917, allocations: 66.03 MB / 0.5614 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003122/0.3948, allocations: 1.645 MB / 0.563 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3959, allocations: 0.5505 MB / 0.5635 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.064e-05/0.3959, allocations: 3.938 kB / 0.5635 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005997/0.3965, allocations: 459.1 kB / 0.564 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004641/0.397, allocations: 291.3 kB / 0.5642 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004274/0.3974, allocations: 183.2 kB / 0.5644 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.3977, allocations: 175.6 kB / 0.5646 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.687e-05/0.3978, allocations: 17.81 kB / 0.5646 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.3979, allocations: 115.7 kB / 0.5647 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.3982, allocations: 243.5 kB / 0.5649 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.3982, allocations: 4 kB / 0.5649 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-05/0.3983, allocations: 39.92 kB / 0.565 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.3984, allocations: 87.69 kB / 0.5651 GB, free: 488 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.586e-05/0.3985, allocations: 71.23 kB / 0.5651 GB, free: 416 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003369/0.3988, allocations: 270.6 kB / 0.5654 GB, free: 144 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3988, allocations: 0 / 0.5654 GB, free: 144 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3988, allocations: 0 / 0.5654 GB, free: 144 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3988, allocations: 0 / 0.5654 GB, free: 144 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007401/0.3996, allocations: 0.5893 MB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.3996, allocations: 8.031 kB / 0.566 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.428e-05/0.3996, allocations: 4.188 kB / 0.566 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.434e-05/0.3996, allocations: 38.69 kB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.439e-05/0.3997, allocations: 44.66 kB / 0.5661 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.4, allocations: 250.8 kB / 0.5663 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.4, allocations: 384 / 0.5663 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.4, allocations: 8.125 kB / 0.5663 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.4002, allocations: 53.67 kB / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.4002, allocations: 0 / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4002, allocations: 7.938 kB / 0.5664 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.4002, allocations: 0 / 0.5664 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.4003, allocations: 35.91 kB / 0.5664 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005489/0.4009, allocations: 363.7 kB / 0.5667 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.4011, allocations: 50.56 kB / 0.5668 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.382e-05/0.4012, allocations: 16.94 kB / 0.5668 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.4012, allocations: 0 / 0.5668 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.4012, allocations: 34.5 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.4012, allocations: 3.938 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006728/0.4019, allocations: 248.6 kB / 0.5671 GB, free: 14.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.4019, allocations: 59.41 kB / 0.5671 GB, free: 14.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009706/0.4029, allocations: 0.8776 MB / 0.568 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.4029, allocations: 25.7 kB / 0.568 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.4031, allocations: 228.1 kB / 0.5682 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.4032, allocations: 19.78 kB / 0.5683 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.4032, allocations: 17.72 kB / 0.5683 GB, free: 13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.4034, allocations: 362.8 kB / 0.5686 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.109e-05/0.4035, allocations: 23.97 kB / 0.5686 GB, free: 12.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-05/0.4035, allocations: 19.98 kB / 0.5687 GB, free: 12.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.4037, allocations: 56.83 kB / 0.5687 GB, free: 12.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.4037, allocations: 0 / 0.5687 GB, free: 12.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002383/0.4039, allocations: 129.5 kB / 0.5688 GB, free: 12.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.4039, allocations: 8 kB / 0.5689 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4039, allocations: 0 / 0.5689 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.4039, allocations: 0 / 0.5689 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.799e-05/0.404, allocations: 11.98 kB / 0.5689 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.404, allocations: 11.92 kB / 0.5689 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.772e-05/0.4041, allocations: 4 kB / 0.5689 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.4041, allocations: 4 kB / 0.5689 GB, free: 12.37 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 0.0001922/0.4043, allocations: 213.8 kB / 0.5691 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-05/0.4043, allocations: 47.67 kB / 0.5691 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002999/0.4046, allocations: 141.2 kB / 0.5693 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.4046, allocations: 4 kB / 0.5693 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4047, allocations: 3.938 kB / 0.5693 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4047, allocations: 0 / 0.5693 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005719/0.4052, allocations: 445.6 kB / 0.5697 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4052, allocations: 0 / 0.5697 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.097e-05/0.4053, allocations: 11.98 kB / 0.5697 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.268e-06/0.4053, allocations: 3.938 kB / 0.5697 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.4053, allocations: 4 kB / 0.5697 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.4053, allocations: 3.938 kB / 0.5697 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4053, allocations: 0 / 0.5697 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.4056, allocations: 215.2 kB / 0.5699 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.4056, allocations: 39.72 kB / 0.57 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.4057, allocations: 12.17 kB / 0.57 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.041e-05/0.4058, allocations: 8 kB / 0.57 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.4058, allocations: 0 / 0.57 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.4058, allocations: 3.984 kB / 0.57 GB, free: 11.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006552/0.4064, allocations: 0.6628 MB / 0.5706 GB, free: 10.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4064, allocations: 0 / 0.5706 GB, free: 10.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.4067, allocations: 35.81 kB / 0.5707 GB, free: 10.45 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.002088/0.4088, allocations: 1.077 MB / 0.5717 GB, free: 9.531 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002243/0.409, allocations: 51.97 kB / 0.5718 GB, free: 9.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.409, allocations: 3.938 kB / 0.5718 GB, free: 9.477 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.573e-05/0.4091, allocations: 32.05 kB / 0.5718 GB, free: 9.445 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.4096, allocations: 26.3 kB / 0.5718 GB, free: 9.418 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00404/0.4136, allocations: 3.283 MB / 0.575 GB, free: 6.043 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.4139, allocations: 224.1 kB / 0.5752 GB, free: 5.805 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.537e-05/0.4139, allocations: 16.66 kB / 0.5753 GB, free: 5.785 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.4141, allocations: 115.4 kB / 0.5754 GB, free: 5.672 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4141, allocations: 112 / 0.5754 GB, free: 5.672 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02745/0.4415, allocations: 6.367 MB / 0.5816 GB, free: 15.37 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.35, allocations: 14.34 kB / 0.5816 GB, free: 15.36 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.664447007002309]