Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001811/0.001811, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.00234/0.00234, allocations: 212.7 kB / 23.74 MB, free: 4.656 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.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2206/0.2206, allocations: 44.91 MB / 358.8 MB, free: 6.281 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00262/0.00262, allocations: 71.91 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3328, allocations: 65.48 MB / 0.557 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.0032/0.336, allocations: 1.608 MB / 0.5586 GB, free: 6.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.3372, allocations: 0.5465 MB / 0.5591 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.281e-05/0.3372, allocations: 4 kB / 0.5592 GB, free: 5.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.3375, allocations: 27.8 kB / 0.5592 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002736/0.3377, allocations: 83.61 kB / 0.5593 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.338, allocations: 87.7 kB / 0.5593 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.3382, allocations: 71.77 kB / 0.5594 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.548e-05/0.3383, allocations: 13.81 kB / 0.5594 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.971e-05/0.3383, allocations: 19.94 kB / 0.5594 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.747e-05/0.3384, allocations: 19.86 kB / 0.5595 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.3384, allocations: 4 kB / 0.5595 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.3385, allocations: 39.97 kB / 0.5595 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.948e-05/0.3385, allocations: 11.92 kB / 0.5595 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.3386, allocations: 27.81 kB / 0.5595 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.3388, allocations: 91.52 kB / 0.5596 GB, free: 5.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3388, allocations: 0 / 0.5596 GB, free: 5.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3388, allocations: 4 kB / 0.5596 GB, free: 5.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.3388, allocations: 0 / 0.5596 GB, free: 5.109 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.0004984/0.3393, allocations: 320 kB / 0.5599 GB, free: 4.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3393, allocations: 12.03 kB / 0.5599 GB, free: 4.758 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.915e-05/0.3394, allocations: 30.75 kB / 0.56 GB, free: 4.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.3394, allocations: 12.84 kB / 0.56 GB, free: 4.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.3396, allocations: 132.6 kB / 0.5601 GB, free: 4.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3396, allocations: 8.125 kB / 0.5601 GB, free: 4.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.3396, allocations: 4 kB / 0.5601 GB, free: 4.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.3398, allocations: 57.61 kB / 0.5602 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3398, allocations: 0 / 0.5602 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.3398, allocations: 0 / 0.5602 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3398, allocations: 0 / 0.5602 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.936e-05/0.3399, allocations: 23.92 kB / 0.5602 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003825/0.3403, allocations: 248 kB / 0.5604 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.3405, allocations: 54.5 kB / 0.5605 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.237e-05/0.3405, allocations: 12.94 kB / 0.5605 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.3406, allocations: 0 / 0.5605 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.3406, allocations: 34.56 kB / 0.5605 GB, free: 4.051 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.3406, allocations: 0 / 0.5605 GB, free: 4.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005617/0.3411, allocations: 149.6 kB / 0.5607 GB, free: 3.898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.3412, allocations: 51.41 kB / 0.5607 GB, free: 3.836 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.3414, allocations: 182.1 kB / 0.5609 GB, free: 3.645 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.3414, allocations: 25.7 kB / 0.5609 GB, free: 3.613 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.3415, allocations: 104.1 kB / 0.561 GB, free: 3.508 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.3415, allocations: 11.89 kB / 0.561 GB, free: 3.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.3415, allocations: 17.72 kB / 0.5611 GB, free: 3.473 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3417, allocations: 322.8 kB / 0.5614 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.843e-05/0.3418, allocations: 19.98 kB / 0.5614 GB, free: 3.129 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.688e-05/0.3418, allocations: 23.92 kB / 0.5614 GB, free: 3.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.342, allocations: 49.02 kB / 0.5615 GB, free: 3.055 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.342, allocations: 0 / 0.5615 GB, free: 3.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00018/0.3421, allocations: 85.52 kB / 0.5615 GB, free: 2.965 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3421, allocations: 4 kB / 0.5615 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3422, allocations: 4.047 kB / 0.5615 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.483e-05/0.3422, allocations: 3.984 kB / 0.5615 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.674e-05/0.3423, allocations: 19.98 kB / 0.5616 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3423, allocations: 3.938 kB / 0.5616 GB, free: 2.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.199e-05/0.3423, allocations: 4 kB / 0.5616 GB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.3423, allocations: 3.984 kB / 0.5616 GB, free: 2.922 MB / 398.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.0001023/0.3424, allocations: 117.8 kB / 0.5617 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.3424, allocations: 7.953 kB / 0.5617 GB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.3427, allocations: 102 kB / 0.5618 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3427, allocations: 0 / 0.5618 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3427, allocations: 3.938 kB / 0.5618 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.3427, allocations: 3.984 kB / 0.5618 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.3432, allocations: 313.7 kB / 0.5621 GB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3432, allocations: 0 / 0.5621 GB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.842e-05/0.3432, allocations: 23.86 kB / 0.5621 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.3432, allocations: 7.938 kB / 0.5621 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3432, allocations: 0 / 0.5621 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3432, allocations: 0 / 0.5621 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3432, allocations: 0 / 0.5621 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.3435, allocations: 179.7 kB / 0.5623 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.977e-05/0.3435, allocations: 11.91 kB / 0.5623 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.3436, allocations: 7.938 kB / 0.5623 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.3436, allocations: 4 kB / 0.5623 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.3437, allocations: 3.984 kB / 0.5623 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.3437, allocations: 8 kB / 0.5623 GB, free: 2.055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001157/0.3438, allocations: 127.2 kB / 0.5625 GB, free: 1.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3438, allocations: 0 / 0.5625 GB, free: 1.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.344, allocations: 23.92 kB / 0.5625 GB, free: 1.906 MB / 398.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.001978/0.346, allocations: 1.023 MB / 0.5635 GB, free: 1.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.3462, allocations: 39.97 kB / 0.5635 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3462, allocations: 3.938 kB / 0.5635 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.385e-05/0.3463, allocations: 27.98 kB / 0.5635 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.3467, allocations: 19.92 kB / 0.5636 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.3486, allocations: 1.49 MB / 0.565 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.3491, allocations: 0.6963 MB / 0.5657 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.897e-05/0.3491, allocations: 8 kB / 0.5657 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.094e-05/0.3492, allocations: 27.42 kB / 0.5657 GB, free: 14.6 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3492, allocations: 4 kB / 0.5657 GB, free: 14.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.3801, allocations: 2.799 MB / 0.5685 GB, free: 11.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.67, allocations: 19.52 kB / 0.5685 GB, free: 11.84 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.723319248994812]