Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.001382/0.001382, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001419/0.001419, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.481/1.481, allocations: 230.6 MB / 258.3 MB, free: 7.766 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.2306/0.2306, allocations: 44.94 MB / 359.6 MB, free: 6.156 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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19",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.002759/0.002759, allocations: 73.88 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3617, allocations: 65.47 MB / 0.5577 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.004203/0.3659, allocations: 1.585 MB / 0.5593 GB, free: 5.957 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002728/0.3686, allocations: 1.22 MB / 0.5605 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.666e-05/0.3687, allocations: 0 / 0.5605 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002587/0.3689, allocations: 27.78 kB / 0.5605 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003585/0.3693, allocations: 87.61 kB / 0.5606 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.3696, allocations: 91.7 kB / 0.5607 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.3698, allocations: 75.69 kB / 0.5608 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.3699, allocations: 12 kB / 0.5608 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.889e-05/0.37, allocations: 23.86 kB / 0.5608 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.3701, allocations: 35.84 kB / 0.5608 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.3701, allocations: 11.94 kB / 0.5608 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.3703, allocations: 87.94 kB / 0.5609 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.687e-05/0.3704, allocations: 11.98 kB / 0.5609 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.202e-05/0.3704, allocations: 19.88 kB / 0.561 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.3707, allocations: 143.4 kB / 0.5611 GB, free: 4.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3707, allocations: 0 / 0.5611 GB, free: 4.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3707, allocations: 0 / 0.5611 GB, free: 4.113 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.3707, allocations: 3.984 kB / 0.5611 GB, free: 4.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.000554/0.3713, allocations: 325.7 kB / 0.5614 GB, free: 3.762 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3713, allocations: 8.031 kB / 0.5614 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.631e-05/0.3713, allocations: 8.188 kB / 0.5614 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.3714, allocations: 30.75 kB / 0.5614 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.3714, allocations: 8.891 kB / 0.5615 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.3716, allocations: 134.4 kB / 0.5616 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.3716, allocations: 4.375 kB / 0.5616 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.3717, allocations: 12.06 kB / 0.5616 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.3719, allocations: 89.09 kB / 0.5617 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.3719, allocations: 7.922 kB / 0.5617 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.3719, allocations: 4 kB / 0.5617 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3719, allocations: 4 kB / 0.5617 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.136e-05/0.372, allocations: 23.98 kB / 0.5617 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.3723, allocations: 243.9 kB / 0.562 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.3726, allocations: 38.56 kB / 0.562 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.207e-05/0.3726, allocations: 12.94 kB / 0.562 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.3726, allocations: 8 kB / 0.562 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.3727, allocations: 30.56 kB / 0.562 GB, free: 2.992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3727, allocations: 0 / 0.562 GB, free: 2.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006031/0.3733, allocations: 149.4 kB / 0.5622 GB, free: 2.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.3733, allocations: 77.11 kB / 0.5623 GB, free: 2.746 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.3735, allocations: 148.1 kB / 0.5624 GB, free: 2.594 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.3735, allocations: 29.7 kB / 0.5624 GB, free: 2.559 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.475e-05/0.3736, allocations: 96.06 kB / 0.5625 GB, free: 2.461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.3736, allocations: 19.86 kB / 0.5625 GB, free: 2.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.3737, allocations: 13.72 kB / 0.5626 GB, free: 2.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3739, allocations: 322.8 kB / 0.5629 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.181e-05/0.3739, allocations: 19.98 kB / 0.5629 GB, free: 2.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.758e-05/0.374, allocations: 63.34 kB / 0.5629 GB, free: 2.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.3742, allocations: 48.83 kB / 0.563 GB, free: 1.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3742, allocations: 3.938 kB / 0.563 GB, free: 1.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000189/0.3744, allocations: 73.62 kB / 0.5631 GB, free: 1.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3744, allocations: 8 kB / 0.5631 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.3744, allocations: 0 / 0.5631 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3744, allocations: 4.031 kB / 0.5631 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.729e-05/0.3745, allocations: 11.98 kB / 0.5631 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.3745, allocations: 4 kB / 0.5631 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.108e-05/0.3745, allocations: 11.86 kB / 0.5631 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.3745, allocations: 8.25 kB / 0.5631 GB, free: 1.824 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 9.582e-05/0.3746, allocations: 113.8 kB / 0.5632 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.3747, allocations: 11.95 kB / 0.5632 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.3749, allocations: 94.05 kB / 0.5633 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.3749, allocations: 4 kB / 0.5633 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3749, allocations: 0 / 0.5633 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3749, allocations: 7.875 kB / 0.5633 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004484/0.3754, allocations: 313.6 kB / 0.5636 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3754, allocations: 0 / 0.5636 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.04e-05/0.3755, allocations: 15.98 kB / 0.5636 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3755, allocations: 0 / 0.5636 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.3755, allocations: 3.938 kB / 0.5636 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3755, allocations: 0 / 0.5636 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3755, allocations: 4 kB / 0.5636 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.3757, allocations: 183.4 kB / 0.5638 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.467e-05/0.3757, allocations: 3.953 kB / 0.5638 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.3758, allocations: 3.938 kB / 0.5638 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.06e-05/0.3758, allocations: 11.98 kB / 0.5638 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.3759, allocations: 4 kB / 0.5638 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.3759, allocations: 0 / 0.5638 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.376, allocations: 117.9 kB / 0.564 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.376, allocations: 0 / 0.564 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002938/0.3763, allocations: 35.88 kB / 0.564 GB, free: 0.8242 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.002345/0.3786, allocations: 1.147 MB / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.3788, allocations: 43.91 kB / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3788, allocations: 0 / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.338e-05/0.3789, allocations: 23.98 kB / 0.5652 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.3793, allocations: 18.66 kB / 0.5652 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.3811, allocations: 1.43 MB / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.294e-05/0.3811, allocations: 83.06 kB / 0.5667 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.167e-05/0.3812, allocations: 16 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.849e-05/0.3813, allocations: 31.42 kB / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3813, allocations: 0 / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.4062, allocations: 3.495 MB / 0.5701 GB, free: 10.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.94, allocations: 0 / 0.5701 GB, free: 10.69 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.118207443971187]