Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.001389/0.001389, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001531/0.001531, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 8 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.2434/0.2434, allocations: 44.9 MB / 358.8 MB, free: 6.273 MB / 286.1 MB " [Timeout remaining time 179] 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.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",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.002256/0.002256, allocations: 75.89 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3418, allocations: 65.47 MB / 0.5571 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003703/0.3455, allocations: 1.635 MB / 0.5586 GB, free: 6.105 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.3471, allocations: 0.5504 MB / 0.5592 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.3472, allocations: 0 / 0.5592 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004417/0.3477, allocations: 115.6 kB / 0.5593 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004678/0.3481, allocations: 119.6 kB / 0.5594 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.3486, allocations: 87.7 kB / 0.5595 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002971/0.3488, allocations: 99.73 kB / 0.5596 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.349, allocations: 8 kB / 0.5596 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.3492, allocations: 47.81 kB / 0.5596 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.3494, allocations: 71.8 kB / 0.5597 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.3494, allocations: 4 kB / 0.5597 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.3496, allocations: 47.92 kB / 0.5598 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.503e-05/0.3497, allocations: 31.91 kB / 0.5598 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.084e-05/0.3498, allocations: 31.69 kB / 0.5598 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003883/0.3501, allocations: 117.5 kB / 0.5599 GB, free: 4.785 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3502, allocations: 0 / 0.5599 GB, free: 4.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3502, allocations: 4 kB / 0.5599 GB, free: 4.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.3502, allocations: 0 / 0.5599 GB, free: 4.781 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.0008655/0.351, allocations: 353.5 kB / 0.5603 GB, free: 4.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/0.3511, allocations: 15.97 kB / 0.5603 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.193e-05/0.3511, allocations: 34.75 kB / 0.5603 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.392e-05/0.3512, allocations: 8.891 kB / 0.5603 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.3515, allocations: 155.1 kB / 0.5605 GB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.3515, allocations: 384 / 0.5605 GB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.3515, allocations: 4.375 kB / 0.5605 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.3517, allocations: 61.61 kB / 0.5605 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.3518, allocations: 3.953 kB / 0.5605 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.3518, allocations: 3.984 kB / 0.5605 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3518, allocations: 0 / 0.5605 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.3519, allocations: 27.92 kB / 0.5606 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005824/0.3525, allocations: 267.9 kB / 0.5608 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.3527, allocations: 46.56 kB / 0.5609 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.094e-05/0.3528, allocations: 12.86 kB / 0.5609 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.3528, allocations: 4.078 kB / 0.5609 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.3528, allocations: 42.44 kB / 0.5609 GB, free: 3.625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.654e-06/0.3528, allocations: 0 / 0.5609 GB, free: 3.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001314/0.3541, allocations: 237.2 kB / 0.5612 GB, free: 3.387 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.3542, allocations: 51.41 kB / 0.5612 GB, free: 3.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003937/0.3546, allocations: 258.9 kB / 0.5615 GB, free: 3.059 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.3546, allocations: 25.7 kB / 0.5615 GB, free: 3.027 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.3547, allocations: 112.1 kB / 0.5616 GB, free: 2.914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.3548, allocations: 31.73 kB / 0.5616 GB, free: 2.883 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.785e-05/0.3548, allocations: 21.72 kB / 0.5616 GB, free: 2.855 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.355, allocations: 330.8 kB / 0.562 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.3552, allocations: 23.98 kB / 0.562 GB, free: 2.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.3553, allocations: 27.92 kB / 0.562 GB, free: 2.473 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.3555, allocations: 56.83 kB / 0.5621 GB, free: 2.414 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3555, allocations: 0 / 0.5621 GB, free: 2.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003285/0.3559, allocations: 113.5 kB / 0.5622 GB, free: 2.297 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.3559, allocations: 8 kB / 0.5622 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3559, allocations: 3.984 kB / 0.5622 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3559, allocations: 0 / 0.5622 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.356, allocations: 12 kB / 0.5622 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.3561, allocations: 7.922 kB / 0.5622 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.975e-05/0.3561, allocations: 4 kB / 0.5622 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.3561, allocations: 4 kB / 0.5622 GB, free: 2.258 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.00017/0.3563, allocations: 133.8 kB / 0.5623 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.195e-05/0.3564, allocations: 19.84 kB / 0.5623 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004052/0.3568, allocations: 123.3 kB / 0.5625 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.3568, allocations: 4 kB / 0.5625 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.3568, allocations: 3.938 kB / 0.5625 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3568, allocations: 0 / 0.5625 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007757/0.3576, allocations: 382.3 kB / 0.5628 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3576, allocations: 4 kB / 0.5628 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.3577, allocations: 23.92 kB / 0.5629 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3577, allocations: 3.938 kB / 0.5629 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3577, allocations: 4 kB / 0.5629 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.3577, allocations: 3.938 kB / 0.5629 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3577, allocations: 3.984 kB / 0.5629 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.3581, allocations: 200.3 kB / 0.5631 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.992e-05/0.3581, allocations: 16.3 kB / 0.5631 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.3581, allocations: 8 kB / 0.5631 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.3583, allocations: 4 kB / 0.5631 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.3583, allocations: 3.984 kB / 0.5631 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.3583, allocations: 4 kB / 0.5631 GB, free: 1.238 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002549/0.3586, allocations: 191.2 kB / 0.5633 GB, free: 1.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3586, allocations: 0 / 0.5633 GB, free: 1.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004142/0.359, allocations: 20 kB / 0.5633 GB, free: 1.031 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.002952/0.3619, allocations: 1.101 MB / 0.5644 GB, free: 88 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003124/0.3622, allocations: 67.89 kB / 0.5644 GB, free: 20 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.3623, allocations: 7.938 kB / 0.5645 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.3624, allocations: 28.03 kB / 0.5645 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005829/0.363, allocations: 26.5 kB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/0.3665, allocations: 1.757 MB / 0.5662 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006304/0.3672, allocations: 0.7197 MB / 0.5669 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.83e-05/0.3673, allocations: 8.656 kB / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.3674, allocations: 39.42 kB / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3674, allocations: 0 / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03616/0.4035, allocations: 3.457 MB / 0.5703 GB, free: 9.926 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.66, allocations: 7.875 kB / 0.5704 GB, free: 9.918 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.67452748096548]