Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.001738/0.001738, allocations: 112.5 kB / 21.22 MB, free: 0.75 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.003096/0.003096, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.533/1.533, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.2385/0.2385, allocations: 44.91 MB / 359.6 MB, free: 6.293 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.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",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.002173/0.002173, allocations: 65.78 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3368, allocations: 65.47 MB / 0.5578 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.00372/0.3406, allocations: 1.642 MB / 0.5594 GB, free: 6.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.3419, allocations: 0.5543 MB / 0.56 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.233e-05/0.3419, allocations: 0 / 0.56 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003417/0.3423, allocations: 79.75 kB / 0.56 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003679/0.3426, allocations: 107.6 kB / 0.5601 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.343, allocations: 107.7 kB / 0.5602 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.3432, allocations: 95.73 kB / 0.5603 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.3433, allocations: 9.828 kB / 0.5603 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.751e-05/0.3434, allocations: 39.89 kB / 0.5604 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.3436, allocations: 63.8 kB / 0.5604 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.3436, allocations: 4 kB / 0.5604 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.879e-05/0.3437, allocations: 43.98 kB / 0.5605 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.459e-05/0.3437, allocations: 23.86 kB / 0.5605 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.453e-05/0.3438, allocations: 27.75 kB / 0.5605 GB, free: 5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.344, allocations: 111.5 kB / 0.5606 GB, free: 4.891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.344, allocations: 7.984 kB / 0.5606 GB, free: 4.883 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.344, allocations: 0 / 0.5606 GB, free: 4.883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.344, allocations: 0 / 0.5606 GB, free: 4.883 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.0004834/0.3445, allocations: 337.6 kB / 0.561 GB, free: 4.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3445, allocations: 15.91 kB / 0.561 GB, free: 4.508 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.696e-05/0.3445, allocations: 4.172 kB / 0.561 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.525e-05/0.3446, allocations: 38.75 kB / 0.561 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.3446, allocations: 12.84 kB / 0.561 GB, free: 4.445 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.3448, allocations: 143 kB / 0.5612 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.3448, allocations: 8.312 kB / 0.5612 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.3448, allocations: 8.125 kB / 0.5612 GB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.345, allocations: 53.67 kB / 0.5612 GB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.345, allocations: 0 / 0.5612 GB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.345, allocations: 0 / 0.5612 GB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.345, allocations: 7.984 kB / 0.5613 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.796e-05/0.3451, allocations: 27.97 kB / 0.5613 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.3456, allocations: 279.9 kB / 0.5615 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.3457, allocations: 46.5 kB / 0.5616 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.573e-05/0.3457, allocations: 16.94 kB / 0.5616 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.3458, allocations: 0 / 0.5616 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.3458, allocations: 30.56 kB / 0.5616 GB, free: 3.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.3458, allocations: 0 / 0.5616 GB, free: 3.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001/0.3468, allocations: 241.2 kB / 0.5619 GB, free: 3.496 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.3468, allocations: 59.34 kB / 0.5619 GB, free: 3.426 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.3471, allocations: 218.2 kB / 0.5621 GB, free: 3.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.3471, allocations: 25.7 kB / 0.5622 GB, free: 3.172 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.591e-05/0.3472, allocations: 108.1 kB / 0.5623 GB, free: 3.062 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.206e-05/0.3472, allocations: 27.75 kB / 0.5623 GB, free: 3.035 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.3473, allocations: 25.7 kB / 0.5623 GB, free: 3.004 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.3475, allocations: 326.8 kB / 0.5626 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.234e-05/0.3476, allocations: 32.05 kB / 0.5626 GB, free: 2.645 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.141e-05/0.3476, allocations: 31.97 kB / 0.5627 GB, free: 2.613 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.3478, allocations: 77.05 kB / 0.5628 GB, free: 2.535 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3478, allocations: 0 / 0.5628 GB, free: 2.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002311/0.3481, allocations: 113.6 kB / 0.5629 GB, free: 2.418 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3481, allocations: 7.938 kB / 0.5629 GB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3481, allocations: 4 kB / 0.5629 GB, free: 2.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3481, allocations: 0 / 0.5629 GB, free: 2.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.987e-05/0.3482, allocations: 19.92 kB / 0.5629 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.3482, allocations: 3.938 kB / 0.5629 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.4e-05/0.3482, allocations: 8 kB / 0.5629 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.3483, allocations: 4 kB / 0.5629 GB, free: 2.371 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 (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.0001129/0.3484, allocations: 125.8 kB / 0.563 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/0.3484, allocations: 15.91 kB / 0.563 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003247/0.3487, allocations: 131 kB / 0.5632 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3487, allocations: 0 / 0.5632 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3487, allocations: 7.875 kB / 0.5632 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3487, allocations: 4 kB / 0.5632 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006265/0.3494, allocations: 394.3 kB / 0.5636 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3494, allocations: 3.938 kB / 0.5636 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.339e-05/0.3494, allocations: 19.98 kB / 0.5636 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3494, allocations: 0 / 0.5636 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.3495, allocations: 0 / 0.5636 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/0.3495, allocations: 4 kB / 0.5636 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3495, allocations: 4.031 kB / 0.5636 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.3498, allocations: 212.2 kB / 0.5638 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.3498, allocations: 15.84 kB / 0.5638 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.3498, allocations: 3.984 kB / 0.5638 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.618e-05/0.3499, allocations: 8 kB / 0.5638 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.3499, allocations: 12.41 kB / 0.5638 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.3499, allocations: 0 / 0.5638 GB, free: 1.332 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001476/0.3501, allocations: 168.2 kB / 0.564 GB, free: 1.168 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3501, allocations: 0 / 0.564 GB, free: 1.168 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.3503, allocations: 19.94 kB / 0.564 GB, free: 1.148 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 (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.002196/0.3525, allocations: 1.107 MB / 0.5651 GB, free: 204 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.3528, allocations: 71.95 kB / 0.5652 GB, free: 132 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3528, allocations: 4 kB / 0.5652 GB, free: 128 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.719e-05/0.3529, allocations: 35.91 kB / 0.5652 GB, free: 92 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.3533, allocations: 23.97 kB / 0.5652 GB, free: 68 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.3554, allocations: 1.73 MB / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.3557, allocations: 0.7041 MB / 0.5676 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.556e-05/0.3558, allocations: 20.95 kB / 0.5676 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.267e-05/0.3559, allocations: 35.42 kB / 0.5676 GB, free: 13.47 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3559, allocations: 4 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.3778, allocations: 3.368 MB / 0.5709 GB, free: 10.17 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.65, allocations: 19.22 kB / 0.571 GB, free: 10.15 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.928698917035945]