Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.001506/0.001506, allocations: 111.6 kB / 20.43 MB, free: 1.473 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.001706/0.001706, allocations: 212.9 kB / 23.74 MB, free: 4.688 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.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 8.043 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.2278/0.2278, allocations: 44.92 MB / 358.8 MB, free: 6.316 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.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",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.00308/0.00308, allocations: 65.94 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3633, allocations: 65.48 MB / 0.5571 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002969/0.3663, allocations: 1.635 MB / 0.5586 GB, free: 6.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.3673, allocations: 0.5543 MB / 0.5592 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.141e-05/0.3674, allocations: 0 / 0.5592 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.3676, allocations: 87.7 kB / 0.5593 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.3679, allocations: 99.62 kB / 0.5594 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.3682, allocations: 119.5 kB / 0.5595 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.3684, allocations: 91.8 kB / 0.5596 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.247e-05/0.3685, allocations: 9.828 kB / 0.5596 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.724e-05/0.3686, allocations: 39.83 kB / 0.5596 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.3687, allocations: 59.81 kB / 0.5597 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.3687, allocations: 4 kB / 0.5597 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.3688, allocations: 55.91 kB / 0.5597 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.349e-05/0.3689, allocations: 19.92 kB / 0.5597 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.282e-05/0.3689, allocations: 27.75 kB / 0.5598 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.3691, allocations: 111.5 kB / 0.5599 GB, free: 4.883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.3691, allocations: 0 / 0.5599 GB, free: 4.883 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3691, allocations: 3.938 kB / 0.5599 GB, free: 4.879 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3691, allocations: 3.984 kB / 0.5599 GB, free: 4.875 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.0004795/0.3696, allocations: 333.6 kB / 0.5602 GB, free: 4.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.3696, allocations: 12.03 kB / 0.5602 GB, free: 4.508 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.642e-05/0.3697, allocations: 38.75 kB / 0.5603 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.3697, allocations: 12.84 kB / 0.5603 GB, free: 4.449 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.3699, allocations: 150.9 kB / 0.5604 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.3699, allocations: 4.375 kB / 0.5604 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.3699, allocations: 384 / 0.5604 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.3701, allocations: 61.61 kB / 0.5605 GB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3701, allocations: 0 / 0.5605 GB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-06/0.3701, allocations: 0 / 0.5605 GB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3701, allocations: 0 / 0.5605 GB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.3702, allocations: 35.97 kB / 0.5605 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.3706, allocations: 271.8 kB / 0.5608 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.3707, allocations: 46.56 kB / 0.5608 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.483e-05/0.3708, allocations: 20.88 kB / 0.5608 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.3708, allocations: 4.062 kB / 0.5608 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.3708, allocations: 42.56 kB / 0.5609 GB, free: 3.727 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.031e-06/0.3708, allocations: 0 / 0.5609 GB, free: 3.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008997/0.3717, allocations: 237.5 kB / 0.5611 GB, free: 3.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.3718, allocations: 55.41 kB / 0.5612 GB, free: 3.422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.372, allocations: 218.2 kB / 0.5614 GB, free: 3.199 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.372, allocations: 25.7 kB / 0.5614 GB, free: 3.168 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.914e-05/0.3721, allocations: 112.1 kB / 0.5615 GB, free: 3.055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.3721, allocations: 23.75 kB / 0.5615 GB, free: 3.031 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.3722, allocations: 25.7 kB / 0.5615 GB, free: 3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3723, allocations: 322.8 kB / 0.5619 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.897e-05/0.3724, allocations: 31.98 kB / 0.5619 GB, free: 2.645 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.549e-05/0.3725, allocations: 27.97 kB / 0.5619 GB, free: 2.617 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.3726, allocations: 76.81 kB / 0.562 GB, free: 2.539 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3726, allocations: 0 / 0.562 GB, free: 2.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002298/0.3729, allocations: 113.5 kB / 0.5621 GB, free: 2.422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3729, allocations: 7.984 kB / 0.5621 GB, free: 2.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.3729, allocations: 0 / 0.5621 GB, free: 2.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.3729, allocations: 4 kB / 0.5621 GB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.373, allocations: 19.98 kB / 0.5621 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.373, allocations: 3.938 kB / 0.5621 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.24e-05/0.373, allocations: 4 kB / 0.5621 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.3731, allocations: 0 / 0.5621 GB, free: 2.383 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.0001064/0.3732, allocations: 129.8 kB / 0.5623 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.3732, allocations: 15.89 kB / 0.5623 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003118/0.3735, allocations: 143.2 kB / 0.5624 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3735, allocations: 0 / 0.5624 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3735, allocations: 7.938 kB / 0.5624 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3735, allocations: 0 / 0.5624 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005622/0.3741, allocations: 394.3 kB / 0.5628 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.3741, allocations: 3.938 kB / 0.5628 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.322e-05/0.3742, allocations: 15.94 kB / 0.5628 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.3742, allocations: 12.02 kB / 0.5628 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.3742, allocations: 0 / 0.5628 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3742, allocations: 0 / 0.5628 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3742, allocations: 0 / 0.5628 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.3745, allocations: 212.3 kB / 0.563 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.713e-05/0.3745, allocations: 15.84 kB / 0.563 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.3745, allocations: 15.98 kB / 0.5631 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.3746, allocations: 4 kB / 0.5631 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.3746, allocations: 3.984 kB / 0.5631 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.3746, allocations: 4 kB / 0.5631 GB, free: 1.328 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001476/0.3748, allocations: 168.2 kB / 0.5632 GB, free: 1.164 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3748, allocations: 0 / 0.5632 GB, free: 1.164 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.375, allocations: 19.94 kB / 0.5632 GB, free: 1.145 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.002211/0.3772, allocations: 1.105 MB / 0.5643 GB, free: 204 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.3775, allocations: 71.89 kB / 0.5644 GB, free: 132 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3775, allocations: 0 / 0.5644 GB, free: 132 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.624e-05/0.3776, allocations: 36.12 kB / 0.5644 GB, free: 96 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.3779, allocations: 25.06 kB / 0.5644 GB, free: 76 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.3801, allocations: 1.732 MB / 0.5661 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.3804, allocations: 0.7119 MB / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.574e-05/0.3805, allocations: 20.66 kB / 0.5669 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.716e-05/0.3806, allocations: 35.42 kB / 0.5669 GB, free: 13.47 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3806, allocations: 0 / 0.5669 GB, free: 13.47 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.4088, allocations: 3.332 MB / 0.5701 GB, free: 10.19 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.5, allocations: 12 kB / 0.5702 GB, free: 10.18 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.476183685008436]