Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.001975/0.001975, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002018/0.002018, allocations: 208.9 kB / 23.73 MB, free: 4.387 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.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2455/0.2455, allocations: 46.96 MB / 360.9 MB, free: 4.012 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.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 67.89 kB / 0.4961 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3195, allocations: 66.02 MB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003148/0.3226, allocations: 1.597 MB / 0.5622 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.3236, allocations: 0.5193 MB / 0.5627 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.3237, allocations: 0 / 0.5627 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.3239, allocations: 35.77 kB / 0.5627 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.3241, allocations: 83.62 kB / 0.5628 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.3244, allocations: 115.3 kB / 0.5629 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.3246, allocations: 63.83 kB / 0.563 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.2e-05/0.3247, allocations: 9.812 kB / 0.563 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.861e-05/0.3247, allocations: 31.86 kB / 0.563 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.796e-05/0.3248, allocations: 19.86 kB / 0.563 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.3248, allocations: 3.938 kB / 0.563 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.162e-05/0.3249, allocations: 39.97 kB / 0.5631 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.858e-05/0.3249, allocations: 15.94 kB / 0.5631 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.325, allocations: 19.86 kB / 0.5631 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.3251, allocations: 95.53 kB / 0.5632 GB, free: 1.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3251, allocations: 0 / 0.5632 GB, free: 1.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3251, allocations: 0 / 0.5632 GB, free: 1.555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.3251, allocations: 0 / 0.5632 GB, free: 1.555 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.0004568/0.3256, allocations: 313.8 kB / 0.5635 GB, free: 1.219 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3256, allocations: 12.03 kB / 0.5635 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.206e-05/0.3257, allocations: 30.75 kB / 0.5635 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.3257, allocations: 16.83 kB / 0.5635 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.3259, allocations: 137.8 kB / 0.5637 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-06/0.3259, allocations: 4.125 kB / 0.5637 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.3259, allocations: 8 kB / 0.5637 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.326, allocations: 53.61 kB / 0.5637 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3261, allocations: 0 / 0.5637 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.3261, allocations: 0 / 0.5637 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3261, allocations: 0 / 0.5637 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.18e-05/0.3262, allocations: 23.98 kB / 0.5638 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.3265, allocations: 248 kB / 0.564 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.3267, allocations: 54.44 kB / 0.564 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.09e-05/0.3268, allocations: 16.94 kB / 0.5641 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.3268, allocations: 4 kB / 0.5641 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.3268, allocations: 34.56 kB / 0.5641 GB, free: 500 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3268, allocations: 0 / 0.5641 GB, free: 500 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005616/0.3274, allocations: 157.3 kB / 0.5642 GB, free: 336 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.3274, allocations: 51.41 kB / 0.5643 GB, free: 272 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.3276, allocations: 180 kB / 0.5645 GB, free: 76 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.3276, allocations: 29.7 kB / 0.5645 GB, free: 40 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.148e-05/0.3277, allocations: 100.1 kB / 0.5646 GB, free: 15.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.3277, allocations: 15.91 kB / 0.5646 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.3278, allocations: 21.7 kB / 0.5646 GB, free: 15.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3279, allocations: 318.8 kB / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.119e-05/0.328, allocations: 23.97 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.509e-05/0.3281, allocations: 24.05 kB / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.3282, allocations: 56.77 kB / 0.565 GB, free: 15.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3282, allocations: 4 kB / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001944/0.3284, allocations: 85.56 kB / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3284, allocations: 8 kB / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.3284, allocations: 0 / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3284, allocations: 0 / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.344e-05/0.3285, allocations: 19.92 kB / 0.5651 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3285, allocations: 3.938 kB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.336e-05/0.3286, allocations: 4 kB / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-06/0.3286, allocations: 4 kB / 0.5652 GB, free: 15.34 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.848e-05/0.3287, allocations: 121.8 kB / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.3287, allocations: 7.953 kB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.329, allocations: 102 kB / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.329, allocations: 4 kB / 0.5654 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.329, allocations: 3.938 kB / 0.5654 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.329, allocations: 0 / 0.5654 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004934/0.3295, allocations: 325.6 kB / 0.5657 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3295, allocations: 4 kB / 0.5657 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.688e-05/0.3295, allocations: 8.312 kB / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.3295, allocations: 7.922 kB / 0.5657 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3296, allocations: 12.22 kB / 0.5657 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3296, allocations: 0 / 0.5657 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3296, allocations: 0 / 0.5657 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.3298, allocations: 183.5 kB / 0.5659 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.004e-05/0.3298, allocations: 15.89 kB / 0.5659 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.3298, allocations: 3.938 kB / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.885e-05/0.3299, allocations: 8 kB / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.33, allocations: 7.922 kB / 0.5659 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.33, allocations: 4 kB / 0.5659 GB, free: 14.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.3301, allocations: 134.9 kB / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3301, allocations: 0 / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.3303, allocations: 19.94 kB / 0.5661 GB, free: 14.3 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.002134/0.3325, allocations: 1.049 MB / 0.5671 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.3327, allocations: 55.89 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3327, allocations: 0 / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.813e-05/0.3328, allocations: 23.98 kB / 0.5672 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.3331, allocations: 15.98 kB / 0.5672 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.335, allocations: 1.521 MB / 0.5687 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.195e-05/0.3351, allocations: 83.59 kB / 0.5688 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.446e-05/0.3352, allocations: 16.05 kB / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.271e-05/0.3353, allocations: 23.44 kB / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3353, allocations: 0 / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.3645, allocations: 3.255 MB / 0.572 GB, free: 8.355 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.36, allocations: 5.422 kB / 0.572 GB, free: 8.355 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.3497234582901]