Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.00161/0.00161, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001885/0.001885, allocations: 214.8 kB / 23.73 MB, free: 4.41 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2366/0.2366, allocations: 46.97 MB / 360.9 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.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 71.89 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3607, allocations: 66.04 MB / 0.5606 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003437/0.3642, allocations: 1.661 MB / 0.5622 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.3654, allocations: 0.5661 MB / 0.5628 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.993e-05/0.3655, allocations: 0 / 0.5628 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006871/0.3662, allocations: 459.1 kB / 0.5632 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005457/0.3667, allocations: 291.3 kB / 0.5635 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004765/0.3672, allocations: 178.8 kB / 0.5637 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.3675, allocations: 183.6 kB / 0.5639 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.3676, allocations: 18.05 kB / 0.5639 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.3677, allocations: 123.7 kB / 0.564 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002829/0.368, allocations: 247.5 kB / 0.5642 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.368, allocations: 4 kB / 0.5642 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.3681, allocations: 47.97 kB / 0.5643 GB, free: 460 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.3683, allocations: 87.62 kB / 0.5644 GB, free: 372 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.76e-05/0.3684, allocations: 71.25 kB / 0.5644 GB, free: 300 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003921/0.3687, allocations: 302.5 kB / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3688, allocations: 0 / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3688, allocations: 0 / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3688, allocations: 0 / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008283/0.3696, allocations: 0.5931 MB / 0.5653 GB, free: 15.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3696, allocations: 8.031 kB / 0.5653 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.131e-05/0.3697, allocations: 34.75 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.518e-05/0.3697, allocations: 48.64 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.3701, allocations: 250.7 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.3701, allocations: 4.312 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.3701, allocations: 12.38 kB / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.3703, allocations: 61.61 kB / 0.5657 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3703, allocations: 0 / 0.5657 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.3703, allocations: 0 / 0.5657 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3703, allocations: 0 / 0.5657 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.3704, allocations: 35.97 kB / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005883/0.371, allocations: 371.7 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.3711, allocations: 50.5 kB / 0.5661 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.378e-05/0.3712, allocations: 20.94 kB / 0.5662 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.3712, allocations: 4.031 kB / 0.5662 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.3712, allocations: 34.56 kB / 0.5662 GB, free: 14.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3712, allocations: 0 / 0.5662 GB, free: 14.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001003/0.3722, allocations: 328.8 kB / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.3723, allocations: 67.33 kB / 0.5666 GB, free: 13.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009341/0.3732, allocations: 0.8699 MB / 0.5674 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.3733, allocations: 33.64 kB / 0.5675 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.3735, allocations: 224.1 kB / 0.5677 GB, free: 12.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.3735, allocations: 35.72 kB / 0.5677 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.3736, allocations: 17.72 kB / 0.5677 GB, free: 12.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.3738, allocations: 366.8 kB / 0.5681 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.846e-05/0.3739, allocations: 31.97 kB / 0.5681 GB, free: 12.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.476e-05/0.374, allocations: 23.98 kB / 0.5681 GB, free: 12.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.3742, allocations: 84.75 kB / 0.5682 GB, free: 12.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3742, allocations: 4 kB / 0.5682 GB, free: 12.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002569/0.3745, allocations: 149.3 kB / 0.5683 GB, free: 12.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3745, allocations: 4 kB / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3745, allocations: 0 / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.3745, allocations: 0 / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.3746, allocations: 23.92 kB / 0.5684 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3746, allocations: 320 / 0.5684 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.23e-05/0.3747, allocations: 12 kB / 0.5684 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.3747, allocations: 3.984 kB / 0.5684 GB, free: 12.04 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 (8): * Single equations (assignments): 8 * 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.0002106/0.3749, allocations: 217.7 kB / 0.5686 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.28e-05/0.375, allocations: 43.72 kB / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003567/0.3753, allocations: 177.5 kB / 0.5688 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3753, allocations: 3.938 kB / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3754, allocations: 0 / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.3754, allocations: 11.98 kB / 0.5688 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006958/0.3761, allocations: 490.2 kB / 0.5693 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.3761, allocations: 0 / 0.5693 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.663e-05/0.3761, allocations: 19.98 kB / 0.5693 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3761, allocations: 0 / 0.5693 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.3761, allocations: 7.875 kB / 0.5693 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.3761, allocations: 4 kB / 0.5693 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3761, allocations: 0 / 0.5693 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.3765, allocations: 256 kB / 0.5696 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.3765, allocations: 43.67 kB / 0.5696 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.3766, allocations: 3.984 kB / 0.5696 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-05/0.3767, allocations: 4 kB / 0.5696 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.3767, allocations: 7.984 kB / 0.5696 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.3767, allocations: 4 kB / 0.5696 GB, free: 10.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006948/0.3774, allocations: 0.6628 MB / 0.5703 GB, free: 10.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3774, allocations: 0 / 0.5703 GB, free: 10.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.3777, allocations: 24 kB / 0.5703 GB, free: 9.984 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 (8): * Single equations (assignments): 8 * 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.002417/0.3801, allocations: 1.172 MB / 0.5714 GB, free: 9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002521/0.3803, allocations: 83.88 kB / 0.5715 GB, free: 8.918 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3803, allocations: 0 / 0.5715 GB, free: 8.918 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.3805, allocations: 47.89 kB / 0.5716 GB, free: 8.871 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.3809, allocations: 35.12 kB / 0.5716 GB, free: 8.848 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004355/0.3852, allocations: 3.396 MB / 0.5749 GB, free: 5.352 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.3855, allocations: 232.1 kB / 0.5751 GB, free: 5.109 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.958e-05/0.3856, allocations: 16.42 kB / 0.5752 GB, free: 5.094 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.3858, allocations: 123.4 kB / 0.5753 GB, free: 4.973 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3858, allocations: 0 / 0.5753 GB, free: 4.973 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03509/0.4208, allocations: 6.979 MB / 0.5821 GB, free: 14.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.7, allocations: 9.438 kB / 0.5821 GB, free: 14.03 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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: 14.70681431889534]