Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001496/0.001496, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001423/0.001423, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.514/1.514, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.2336/0.2336, allocations: 44.91 MB / 359.6 MB, free: 6.289 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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="cs",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.001961/0.001961, allocations: 55.91 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3366, allocations: 65.47 MB / 0.5578 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003445/0.3401, allocations: 1.686 MB / 0.5595 GB, free: 6.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.3413, allocations: 0.5543 MB / 0.56 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.54e-05/0.3414, allocations: 3.938 kB / 0.56 GB, free: 5.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.3417, allocations: 103.7 kB / 0.5601 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000317/0.342, allocations: 111.6 kB / 0.5602 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.3423, allocations: 91.75 kB / 0.5603 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.3426, allocations: 103.7 kB / 0.5604 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.3427, allocations: 15.98 kB / 0.5604 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.771e-05/0.3428, allocations: 47.77 kB / 0.5605 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.3429, allocations: 63.81 kB / 0.5605 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.3429, allocations: 8 kB / 0.5605 GB, free: 5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.343, allocations: 51.97 kB / 0.5606 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.352e-05/0.3431, allocations: 31.86 kB / 0.5606 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.789e-05/0.3431, allocations: 31.69 kB / 0.5606 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.3434, allocations: 135.3 kB / 0.5608 GB, free: 4.754 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3434, allocations: 0 / 0.5608 GB, free: 4.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3434, allocations: 0 / 0.5608 GB, free: 4.754 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.3434, allocations: 4 kB / 0.5608 GB, free: 4.75 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005146/0.3439, allocations: 357.5 kB / 0.5611 GB, free: 4.371 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3439, allocations: 16.03 kB / 0.5611 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.553e-05/0.3439, allocations: 192 / 0.5611 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.05e-05/0.344, allocations: 42.73 kB / 0.5612 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.344, allocations: 12.84 kB / 0.5612 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.3442, allocations: 154.7 kB / 0.5613 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.3443, allocations: 4.375 kB / 0.5613 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.3443, allocations: 8.125 kB / 0.5613 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.3444, allocations: 65.67 kB / 0.5614 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3445, allocations: 3.953 kB / 0.5614 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.3445, allocations: 8 kB / 0.5614 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3445, allocations: 0 / 0.5614 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.3446, allocations: 43.95 kB / 0.5614 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.345, allocations: 299.8 kB / 0.5617 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.3452, allocations: 62.56 kB / 0.5618 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.062e-05/0.3452, allocations: 24.84 kB / 0.5618 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.3453, allocations: 4 kB / 0.5618 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.3453, allocations: 30.67 kB / 0.5618 GB, free: 3.504 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3453, allocations: 3.938 kB / 0.5619 GB, free: 3.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001106/0.3464, allocations: 321.6 kB / 0.5622 GB, free: 3.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.3464, allocations: 51.41 kB / 0.5622 GB, free: 3.117 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.3467, allocations: 235.5 kB / 0.5624 GB, free: 2.867 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.3467, allocations: 29.7 kB / 0.5625 GB, free: 2.832 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.943e-05/0.3468, allocations: 116 kB / 0.5626 GB, free: 2.715 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/0.3469, allocations: 43.64 kB / 0.5626 GB, free: 2.672 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.3469, allocations: 25.7 kB / 0.5626 GB, free: 2.641 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3471, allocations: 334.8 kB / 0.563 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.3472, allocations: 35.98 kB / 0.563 GB, free: 2.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.478e-05/0.3473, allocations: 43.97 kB / 0.563 GB, free: 2.227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.3475, allocations: 92.14 kB / 0.5631 GB, free: 2.137 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3475, allocations: 0 / 0.5631 GB, free: 2.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00028/0.3478, allocations: 137.6 kB / 0.5633 GB, free: 1.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3478, allocations: 8 kB / 0.5633 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3478, allocations: 3.938 kB / 0.5633 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3478, allocations: 0 / 0.5633 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.3479, allocations: 23.98 kB / 0.5633 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3479, allocations: 0 / 0.5633 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.995e-05/0.348, allocations: 11.98 kB / 0.5633 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.348, allocations: 4 kB / 0.5633 GB, free: 1.945 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 (13): * Single equations (assignments): 13 * 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.0001291/0.3481, allocations: 137.8 kB / 0.5634 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.3482, allocations: 19.91 kB / 0.5635 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003528/0.3485, allocations: 163 kB / 0.5636 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3485, allocations: 4 kB / 0.5636 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3485, allocations: 0 / 0.5636 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3485, allocations: 0 / 0.5636 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006755/0.3492, allocations: 458 kB / 0.564 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.3492, allocations: 7.984 kB / 0.5641 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.637e-05/0.3493, allocations: 27.98 kB / 0.5641 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3493, allocations: 0 / 0.5641 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.3493, allocations: 4 kB / 0.5641 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3493, allocations: 0 / 0.5641 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3493, allocations: 0 / 0.5641 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.3496, allocations: 248.2 kB / 0.5643 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/0.3497, allocations: 15.89 kB / 0.5643 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.3497, allocations: 0 / 0.5643 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-05/0.3498, allocations: 12 kB / 0.5644 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.3498, allocations: 7.984 kB / 0.5644 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.3498, allocations: 4 kB / 0.5644 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001732/0.35, allocations: 185.1 kB / 0.5645 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.35, allocations: 0 / 0.5645 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.3503, allocations: 28 kB / 0.5646 GB, free: 0.5625 MB / 398.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 (13): * Single equations (assignments): 13 * 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.002285/0.3525, allocations: 1.135 MB / 0.5657 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002785/0.3528, allocations: 99.64 kB / 0.5658 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3528, allocations: 0 / 0.5658 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.3529, allocations: 55.91 kB / 0.5658 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.3533, allocations: 27.73 kB / 0.5658 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.3556, allocations: 1.837 MB / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.356, allocations: 0.7313 MB / 0.5684 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.075e-05/0.3561, allocations: 12.48 kB / 0.5684 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.148e-05/0.3562, allocations: 47.42 kB / 0.5684 GB, free: 12.67 MB / 414.1 MB Notification: Performance of SimCode: time 6.22e-07/0.3562, allocations: 0 / 0.5684 GB, free: 12.67 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.3796, allocations: 3.746 MB / 0.5721 GB, free: 8.996 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.79, allocations: 9.344 kB / 0.5721 GB, free: 8.992 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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: 15.14685688802274]