Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.001238/0.001238, allocations: 112.2 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.001601/0.001601, 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.483/1.483, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.2286/0.2286, allocations: 44.91 MB / 359.6 MB, free: 6.285 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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",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.002071/0.002071, allocations: 67.89 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3393, allocations: 65.47 MB / 0.5578 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.00326/0.3426, allocations: 1.64 MB / 0.5594 GB, free: 6.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.3446, allocations: 1.271 MB / 0.5606 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.432e-05/0.3447, allocations: 0 / 0.5606 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.3449, allocations: 15.86 kB / 0.5607 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002796/0.3452, allocations: 87.61 kB / 0.5607 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.3454, allocations: 95.69 kB / 0.5608 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.3456, allocations: 79.77 kB / 0.5609 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3457, allocations: 8 kB / 0.5609 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.665e-05/0.3458, allocations: 31.91 kB / 0.5609 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.3459, allocations: 39.78 kB / 0.561 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.3459, allocations: 4 kB / 0.561 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.3461, allocations: 103.9 kB / 0.5611 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.97e-05/0.3462, allocations: 15.97 kB / 0.5611 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.138e-05/0.3462, allocations: 27.81 kB / 0.5611 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.3465, allocations: 153.4 kB / 0.5613 GB, free: 4.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3465, allocations: 3.984 kB / 0.5613 GB, free: 4.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3465, allocations: 0 / 0.5613 GB, free: 4.215 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3465, allocations: 0 / 0.5613 GB, free: 4.215 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00051/0.347, allocations: 337.6 kB / 0.5616 GB, free: 3.855 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.347, allocations: 12.03 kB / 0.5616 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.16e-05/0.3471, allocations: 4.188 kB / 0.5616 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.137e-05/0.3471, allocations: 38.73 kB / 0.5617 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.3472, allocations: 8.891 kB / 0.5617 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.3474, allocations: 134.4 kB / 0.5618 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.3474, allocations: 4.359 kB / 0.5618 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.3474, allocations: 12.12 kB / 0.5618 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.3476, allocations: 71.39 kB / 0.5619 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3476, allocations: 4 kB / 0.5619 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.3476, allocations: 0 / 0.5619 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.3476, allocations: 4 kB / 0.5619 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.3477, allocations: 39.95 kB / 0.5619 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003748/0.3481, allocations: 267.8 kB / 0.5622 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.3482, allocations: 50.55 kB / 0.5622 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.635e-05/0.3483, allocations: 24.97 kB / 0.5623 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-05/0.3483, allocations: 0 / 0.5623 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.193e-05/0.3484, allocations: 34.56 kB / 0.5623 GB, free: 3.051 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.3484, allocations: 0 / 0.5623 GB, free: 3.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008121/0.3492, allocations: 177.4 kB / 0.5625 GB, free: 2.871 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/0.3493, allocations: 89.08 kB / 0.5625 GB, free: 2.766 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.3494, allocations: 163.6 kB / 0.5627 GB, free: 2.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.3495, allocations: 33.64 kB / 0.5627 GB, free: 2.559 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.735e-05/0.3495, allocations: 100.1 kB / 0.5628 GB, free: 2.457 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.3495, allocations: 27.75 kB / 0.5628 GB, free: 2.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.3496, allocations: 25.7 kB / 0.5629 GB, free: 2.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3497, allocations: 314.8 kB / 0.5632 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.259e-05/0.3498, allocations: 27.97 kB / 0.5632 GB, free: 2.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.733e-05/0.3499, allocations: 41.7 kB / 0.5632 GB, free: 2.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.3501, allocations: 61.05 kB / 0.5633 GB, free: 1.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3501, allocations: 0 / 0.5633 GB, free: 1.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002184/0.3503, allocations: 97.61 kB / 0.5634 GB, free: 1.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.3503, allocations: 4 kB / 0.5634 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3503, allocations: 8.031 kB / 0.5634 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.3503, allocations: 3.938 kB / 0.5634 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.3504, allocations: 15.98 kB / 0.5634 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3504, allocations: 3.938 kB / 0.5634 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/0.3505, allocations: 4 kB / 0.5634 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.3505, allocations: 8 kB / 0.5634 GB, free: 1.797 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 9.768e-05/0.3506, allocations: 117.8 kB / 0.5635 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.3506, allocations: 7.953 kB / 0.5636 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.3509, allocations: 122.3 kB / 0.5637 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3509, allocations: 0 / 0.5637 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3509, allocations: 3.938 kB / 0.5637 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3509, allocations: 4 kB / 0.5637 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004926/0.3514, allocations: 357.5 kB / 0.564 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3514, allocations: 0 / 0.564 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.798e-05/0.3515, allocations: 23.86 kB / 0.564 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3515, allocations: 8 kB / 0.5641 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.3515, allocations: 384 / 0.5641 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3515, allocations: 0 / 0.5641 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3515, allocations: 4.234 kB / 0.5641 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.3518, allocations: 199.5 kB / 0.5642 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.3518, allocations: 11.89 kB / 0.5643 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.3518, allocations: 0 / 0.5643 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.064e-05/0.3519, allocations: 15.92 kB / 0.5643 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.3519, allocations: 8 kB / 0.5643 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.3519, allocations: 3.984 kB / 0.5643 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.3521, allocations: 111.3 kB / 0.5644 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3521, allocations: 0 / 0.5644 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002936/0.3523, allocations: 43.86 kB / 0.5644 GB, free: 0.6875 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 (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.002193/0.3545, allocations: 1.133 MB / 0.5655 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.3548, allocations: 59.91 kB / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3548, allocations: 0 / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.49e-05/0.3549, allocations: 32.12 kB / 0.5656 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.3552, allocations: 21.83 kB / 0.5656 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.357, allocations: 1.515 MB / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.3574, allocations: 0.6968 MB / 0.5678 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.673e-05/0.3574, allocations: 8.438 kB / 0.5678 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.931e-05/0.3575, allocations: 43.41 kB / 0.5679 GB, free: 13.24 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3575, allocations: 0 / 0.5679 GB, free: 13.24 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.3818, allocations: 3.619 MB / 0.5714 GB, free: 9.664 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.76, allocations: 6.297 kB / 0.5714 GB, free: 9.66 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.926463416020852]