Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.001354/0.001354, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002165/0.002165, allocations: 211.1 kB / 23.73 MB, free: 4.387 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.572/1.572, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2243/0.2243, allocations: 44.94 MB / 358.8 MB, free: 6.047 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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29",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.003074/0.003074, allocations: 75.88 kB / 0.493 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3586, allocations: 65.47 MB / 0.557 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003393/0.362, allocations: 1.65 MB / 0.5586 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.3632, allocations: 0.5427 MB / 0.5591 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.488e-05/0.3633, allocations: 0 / 0.5591 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.3636, allocations: 31.78 kB / 0.5592 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.3639, allocations: 83.67 kB / 0.5592 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.3642, allocations: 115.7 kB / 0.5593 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.3644, allocations: 91.75 kB / 0.5594 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.3645, allocations: 25.8 kB / 0.5595 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.847e-05/0.3646, allocations: 35.86 kB / 0.5595 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.902e-05/0.3647, allocations: 43.7 kB / 0.5595 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.3647, allocations: 8 kB / 0.5595 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.3648, allocations: 43.98 kB / 0.5596 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.395e-05/0.3649, allocations: 23.92 kB / 0.5596 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.805e-05/0.3649, allocations: 23.81 kB / 0.5596 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.3651, allocations: 115.5 kB / 0.5597 GB, free: 4.719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3651, allocations: 0 / 0.5597 GB, free: 4.719 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3651, allocations: 0 / 0.5597 GB, free: 4.719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.3652, allocations: 4 kB / 0.5597 GB, free: 4.715 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005752/0.3657, allocations: 337.7 kB / 0.5601 GB, free: 4.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3658, allocations: 12.03 kB / 0.5601 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.815e-05/0.3658, allocations: 42.67 kB / 0.5601 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.3659, allocations: 12.84 kB / 0.5601 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.3661, allocations: 138.4 kB / 0.5603 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.3661, allocations: 4.359 kB / 0.5603 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.3661, allocations: 8.375 kB / 0.5603 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.3663, allocations: 85.3 kB / 0.5604 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3664, allocations: 0 / 0.5604 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.3664, allocations: 4 kB / 0.5604 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.3664, allocations: 0 / 0.5604 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.3665, allocations: 43.95 kB / 0.5604 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005302/0.367, allocations: 303.8 kB / 0.5607 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.3672, allocations: 62.5 kB / 0.5608 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.358e-05/0.3673, allocations: 28.84 kB / 0.5608 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.3673, allocations: 0 / 0.5608 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.3673, allocations: 34.55 kB / 0.5608 GB, free: 3.492 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.3673, allocations: 0 / 0.5608 GB, free: 3.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001069/0.3684, allocations: 337.6 kB / 0.5611 GB, free: 3.156 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.3684, allocations: 55.41 kB / 0.5612 GB, free: 3.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.3686, allocations: 161 kB / 0.5613 GB, free: 2.926 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.3686, allocations: 29.7 kB / 0.5614 GB, free: 2.891 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.349e-05/0.3687, allocations: 104.1 kB / 0.5615 GB, free: 2.785 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.871e-05/0.3687, allocations: 47.59 kB / 0.5615 GB, free: 2.738 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.3688, allocations: 29.7 kB / 0.5615 GB, free: 2.703 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.369, allocations: 326.8 kB / 0.5619 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.3691, allocations: 43.97 kB / 0.5619 GB, free: 2.332 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.3692, allocations: 48.09 kB / 0.5619 GB, free: 2.285 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.3694, allocations: 104.8 kB / 0.562 GB, free: 2.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3694, allocations: 3.938 kB / 0.562 GB, free: 2.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003002/0.3697, allocations: 161.4 kB / 0.5622 GB, free: 2.012 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3697, allocations: 7.984 kB / 0.5622 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3697, allocations: 0 / 0.5622 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3697, allocations: 4 kB / 0.5622 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.3699, allocations: 23.98 kB / 0.5622 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3699, allocations: 0 / 0.5622 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.391e-05/0.37, allocations: 12 kB / 0.5622 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.37, allocations: 4 kB / 0.5622 GB, free: 1.961 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 (13): * Single equations (assignments): 13 * 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.0001186/0.3701, allocations: 129.8 kB / 0.5624 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.3701, allocations: 11.89 kB / 0.5624 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003893/0.3705, allocations: 182.1 kB / 0.5626 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3705, allocations: 0 / 0.5626 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3705, allocations: 4 kB / 0.5626 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3705, allocations: 3.984 kB / 0.5626 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006764/0.3712, allocations: 450.2 kB / 0.563 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3712, allocations: 4 kB / 0.563 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.702e-05/0.3713, allocations: 27.92 kB / 0.563 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3713, allocations: 7.922 kB / 0.563 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.3713, allocations: 8 kB / 0.563 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3713, allocations: 0 / 0.563 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3713, allocations: 0 / 0.563 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.3717, allocations: 256.2 kB / 0.5633 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.332e-05/0.3717, allocations: 3.953 kB / 0.5633 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.3717, allocations: 12.02 kB / 0.5633 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.76e-05/0.3718, allocations: 8 kB / 0.5633 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.3718, allocations: 11.92 kB / 0.5633 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.3719, allocations: 7.938 kB / 0.5633 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.372, allocations: 124.8 kB / 0.5634 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.372, allocations: 0 / 0.5634 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.3722, allocations: 31.92 kB / 0.5635 GB, free: 0.6172 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 (13): * Single equations (assignments): 13 * 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.002519/0.3747, allocations: 1.161 MB / 0.5646 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002972/0.375, allocations: 99.94 kB / 0.5647 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.375, allocations: 0 / 0.5647 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.3752, allocations: 71.83 kB / 0.5648 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.3756, allocations: 23.94 kB / 0.5648 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.3778, allocations: 1.746 MB / 0.5665 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.3779, allocations: 104.7 kB / 0.5666 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.771e-05/0.378, allocations: 32.45 kB / 0.5666 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.403e-05/0.3781, allocations: 35.42 kB / 0.5667 GB, free: 13.43 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3781, allocations: 0 / 0.5667 GB, free: 13.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.4064, allocations: 3.83 MB / 0.5704 GB, free: 9.641 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.88, allocations: 14.33 kB / 0.5704 GB, free: 9.629 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.968116383999586]