Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.00133/0.00133, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001605/0.001605, allocations: 218 kB / 23.73 MB, free: 4.164 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.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2451/0.2451, allocations: 46.95 MB / 360.9 MB, free: 4 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.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002405/0.002405, allocations: 71.89 kB / 0.4961 GB, free: 7.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3398, allocations: 66.03 MB / 0.5606 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003603/0.3434, allocations: 1.596 MB / 0.5622 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.3445, allocations: 0.5193 MB / 0.5627 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.994e-05/0.3445, allocations: 3.938 kB / 0.5627 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.3448, allocations: 35.78 kB / 0.5627 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003619/0.3451, allocations: 71.67 kB / 0.5628 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.3455, allocations: 95.45 kB / 0.5629 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.3457, allocations: 67.83 kB / 0.5629 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.3458, allocations: 9.828 kB / 0.5629 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.146e-05/0.3458, allocations: 23.86 kB / 0.563 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.205e-05/0.3459, allocations: 27.84 kB / 0.563 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.3459, allocations: 0 / 0.563 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.346, allocations: 39.98 kB / 0.563 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.532e-05/0.3461, allocations: 15.88 kB / 0.563 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.3461, allocations: 15.86 kB / 0.5631 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.3463, allocations: 91.59 kB / 0.5632 GB, free: 1.562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3463, allocations: 0 / 0.5632 GB, free: 1.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3463, allocations: 0 / 0.5632 GB, free: 1.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.3464, allocations: 0 / 0.5632 GB, free: 1.562 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.0004797/0.3468, allocations: 313.8 kB / 0.5634 GB, free: 1.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3469, allocations: 16.03 kB / 0.5635 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/0.3469, allocations: 30.75 kB / 0.5635 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.3469, allocations: 12.84 kB / 0.5635 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.3473, allocations: 142.8 kB / 0.5636 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.3473, allocations: 8.125 kB / 0.5637 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.3473, allocations: 4 kB / 0.5637 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.3474, allocations: 45.69 kB / 0.5637 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3474, allocations: 0 / 0.5637 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.3474, allocations: 0 / 0.5637 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3474, allocations: 0 / 0.5637 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.604e-05/0.3475, allocations: 27.97 kB / 0.5637 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.3479, allocations: 251.9 kB / 0.564 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.3481, allocations: 38.56 kB / 0.564 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.359e-05/0.3482, allocations: 16.94 kB / 0.564 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.3482, allocations: 0 / 0.564 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.3482, allocations: 34.56 kB / 0.5641 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.3482, allocations: 0 / 0.5641 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005616/0.3488, allocations: 145.4 kB / 0.5642 GB, free: 368 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.3488, allocations: 51.41 kB / 0.5642 GB, free: 304 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.349, allocations: 191.7 kB / 0.5644 GB, free: 100 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.349, allocations: 25.7 kB / 0.5644 GB, free: 68 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.3492, allocations: 100.1 kB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.3492, allocations: 11.89 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.3492, allocations: 21.72 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3494, allocations: 318.8 kB / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.508e-05/0.3495, allocations: 23.92 kB / 0.5649 GB, free: 15.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.07e-05/0.3495, allocations: 24.11 kB / 0.5649 GB, free: 15.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.3497, allocations: 52.83 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3497, allocations: 0 / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001856/0.3499, allocations: 81.58 kB / 0.5651 GB, free: 15.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3499, allocations: 4 kB / 0.5651 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3499, allocations: 0 / 0.5651 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3499, allocations: 0 / 0.5651 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.718e-05/0.35, allocations: 19.98 kB / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.35, allocations: 3.938 kB / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.067e-05/0.35, allocations: 4 kB / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.35, allocations: 7.938 kB / 0.5651 GB, free: 15.38 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.0001075/0.3501, allocations: 121.8 kB / 0.5652 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.3502, allocations: 7.953 kB / 0.5652 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.3504, allocations: 90.05 kB / 0.5653 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3504, allocations: 288 / 0.5653 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3504, allocations: 7.938 kB / 0.5653 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.3504, allocations: 3.984 kB / 0.5653 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005014/0.3509, allocations: 317.6 kB / 0.5656 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3509, allocations: 0 / 0.5656 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.969e-05/0.351, allocations: 11.98 kB / 0.5656 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.351, allocations: 7.875 kB / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.351, allocations: 4.188 kB / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.351, allocations: 4 kB / 0.5656 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.351, allocations: 0 / 0.5656 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.3513, allocations: 179.4 kB / 0.5658 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.175e-05/0.3513, allocations: 15.89 kB / 0.5658 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.3513, allocations: 7.938 kB / 0.5658 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.02e-05/0.3514, allocations: 4 kB / 0.5658 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.3514, allocations: 7.984 kB / 0.5658 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.3514, allocations: 0 / 0.5658 GB, free: 14.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001227/0.3515, allocations: 135.2 kB / 0.566 GB, free: 14.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3515, allocations: 0 / 0.566 GB, free: 14.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.3518, allocations: 11.94 kB / 0.566 GB, free: 14.37 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.002041/0.3538, allocations: 1.047 MB / 0.567 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.354, allocations: 47.91 kB / 0.5671 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.354, allocations: 0 / 0.5671 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.403e-05/0.3541, allocations: 23.98 kB / 0.5671 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.3545, allocations: 15.98 kB / 0.5671 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.3563, allocations: 1.49 MB / 0.5685 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.132e-05/0.3564, allocations: 83.59 kB / 0.5686 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.179e-05/0.3564, allocations: 4 kB / 0.5686 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.3565, allocations: 35.42 kB / 0.5687 GB, free: 11.68 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3565, allocations: 0 / 0.5687 GB, free: 11.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03098/0.3875, allocations: 3.218 MB / 0.5718 GB, free: 8.508 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.35, allocations: 13.34 kB / 0.5718 GB, free: 8.504 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.387700889725238]