Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.001874/0.001874, allocations: 107.1 kB / 20.44 MB, free: 1.355 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.002342/0.002342, allocations: 212.7 kB / 23.73 MB, free: 4.531 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.442/1.442, 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.2271/0.2271, allocations: 46.97 MB / 360.9 MB, free: 4.168 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.Test34,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002839/0.002839, allocations: 63.89 kB / 0.4961 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3272, allocations: 66.04 MB / 0.5606 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003262/0.3305, allocations: 1.613 MB / 0.5622 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.3316, allocations: 0.5154 MB / 0.5627 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.255e-05/0.3316, allocations: 4 kB / 0.5627 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.3319, allocations: 79.7 kB / 0.5628 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.3322, allocations: 99.66 kB / 0.5629 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.3325, allocations: 95.69 kB / 0.563 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.3327, allocations: 83.8 kB / 0.563 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.3328, allocations: 21.7 kB / 0.5631 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.735e-05/0.3329, allocations: 35.89 kB / 0.5631 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.333, allocations: 55.83 kB / 0.5631 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.333, allocations: 8 kB / 0.5632 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.847e-05/0.3331, allocations: 47.97 kB / 0.5632 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.913e-05/0.3332, allocations: 23.86 kB / 0.5632 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/0.3332, allocations: 27.8 kB / 0.5632 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.3334, allocations: 111.5 kB / 0.5634 GB, free: 1.457 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3334, allocations: 0 / 0.5634 GB, free: 1.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3334, allocations: 0 / 0.5634 GB, free: 1.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.3334, allocations: 0 / 0.5634 GB, free: 1.457 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004956/0.3339, allocations: 333.6 kB / 0.5637 GB, free: 1.102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.334, allocations: 12.03 kB / 0.5637 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.401e-05/0.334, allocations: 34.75 kB / 0.5637 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.334, allocations: 20.84 kB / 0.5637 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.3343, allocations: 150.9 kB / 0.5639 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.3343, allocations: 4.375 kB / 0.5639 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.3343, allocations: 8.312 kB / 0.5639 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.3344, allocations: 49.62 kB / 0.5639 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3345, allocations: 4 kB / 0.5639 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.3345, allocations: 0 / 0.5639 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3345, allocations: 0 / 0.5639 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.651e-05/0.3346, allocations: 27.97 kB / 0.564 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.335, allocations: 267.8 kB / 0.5642 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.3351, allocations: 38.56 kB / 0.5643 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.309e-05/0.3351, allocations: 20.94 kB / 0.5643 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.3351, allocations: 0 / 0.5643 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.3352, allocations: 34.56 kB / 0.5643 GB, free: 344 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3352, allocations: 0 / 0.5643 GB, free: 344 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009166/0.3361, allocations: 229.1 kB / 0.5645 GB, free: 108 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.3361, allocations: 51.41 kB / 0.5646 GB, free: 44 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.3364, allocations: 214.2 kB / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.3364, allocations: 29.7 kB / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.333e-05/0.3365, allocations: 104.1 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.3365, allocations: 31.73 kB / 0.5649 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.3366, allocations: 21.72 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.3367, allocations: 322.8 kB / 0.5653 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.212e-05/0.3368, allocations: 35.97 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/0.3369, allocations: 19.98 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.337, allocations: 64.89 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.337, allocations: 0 / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002086/0.3372, allocations: 101.6 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3372, allocations: 10.44 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3372, allocations: 0 / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3373, allocations: 8 kB / 0.5655 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.3374, allocations: 15.98 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3374, allocations: 3.938 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.257e-05/0.3374, allocations: 7.984 kB / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.3374, allocations: 4.422 kB / 0.5655 GB, free: 15.03 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.0001051/0.3375, allocations: 129.8 kB / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.3376, allocations: 15.91 kB / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.3379, allocations: 119.3 kB / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3379, allocations: 7.984 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3379, allocations: 3.938 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3379, allocations: 0 / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005464/0.3384, allocations: 366.4 kB / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3384, allocations: 4 kB / 0.5662 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.122e-05/0.3385, allocations: 23.92 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3385, allocations: 0 / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.3385, allocations: 8 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3385, allocations: 32 / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3385, allocations: 4 kB / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.3388, allocations: 204.2 kB / 0.5664 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.3388, allocations: 15.84 kB / 0.5664 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.3388, allocations: 4 kB / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.3389, allocations: 7.984 kB / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.3389, allocations: 7.984 kB / 0.5664 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.3389, allocations: 4 kB / 0.5664 GB, free: 14.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.3391, allocations: 168.2 kB / 0.5666 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3391, allocations: 4 kB / 0.5666 GB, free: 13.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000248/0.3393, allocations: 15.94 kB / 0.5666 GB, free: 13.84 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.002205/0.3415, allocations: 1.127 MB / 0.5677 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000212/0.3417, allocations: 63.89 kB / 0.5678 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3417, allocations: 0 / 0.5678 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.911e-05/0.3418, allocations: 31.98 kB / 0.5678 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.3422, allocations: 21.8 kB / 0.5678 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.3442, allocations: 1.685 MB / 0.5695 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.3443, allocations: 96.67 kB / 0.5696 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.693e-05/0.3443, allocations: 8.672 kB / 0.5696 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.455e-05/0.3444, allocations: 35.42 kB / 0.5696 GB, free: 10.87 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3444, allocations: 4 kB / 0.5696 GB, free: 10.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/0.3711, allocations: 3.703 MB / 0.5732 GB, free: 7.203 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.23, allocations: 13.53 kB / 0.5732 GB, free: 7.195 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test34_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test34.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.202539085003082]