Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001297/0.001297, 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.002357/0.002357, allocations: 210.6 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2181/0.2181, allocations: 44.94 MB / 358.8 MB, free: 6.008 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.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.002068/0.002068, allocations: 62.09 kB / 0.493 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3205, allocations: 65.49 MB / 0.557 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003135/0.3236, allocations: 1.664 MB / 0.5586 GB, free: 5.969 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.3248, allocations: 0.566 MB / 0.5592 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.232e-05/0.3249, allocations: 4 kB / 0.5592 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.3251, allocations: 71.7 kB / 0.5592 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.3254, allocations: 103.6 kB / 0.5593 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004629/0.3259, allocations: 183.3 kB / 0.5595 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.326, allocations: 95.73 kB / 0.5596 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.3261, allocations: 18.33 kB / 0.5596 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.3262, allocations: 43.83 kB / 0.5597 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.3263, allocations: 51.83 kB / 0.5597 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.3263, allocations: 4 kB / 0.5597 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.3264, allocations: 47.97 kB / 0.5598 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.28e-05/0.3265, allocations: 39.78 kB / 0.5598 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.3266, allocations: 23.81 kB / 0.5598 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.3268, allocations: 135.4 kB / 0.56 GB, free: 4.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3268, allocations: 0 / 0.56 GB, free: 4.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.3268, allocations: 0 / 0.56 GB, free: 4.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.3268, allocations: 0 / 0.56 GB, free: 4.594 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000526/0.3273, allocations: 353.5 kB / 0.5603 GB, free: 4.219 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.3273, allocations: 12.03 kB / 0.5603 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.798e-05/0.3274, allocations: 38.73 kB / 0.5603 GB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.3274, allocations: 16.84 kB / 0.5604 GB, free: 4.145 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.3276, allocations: 150.2 kB / 0.5605 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.3276, allocations: 4.375 kB / 0.5605 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.3277, allocations: 8.375 kB / 0.5605 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.3278, allocations: 65.61 kB / 0.5606 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3279, allocations: 3.938 kB / 0.5606 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.3279, allocations: 4 kB / 0.5606 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.537e-06/0.3279, allocations: 3.984 kB / 0.5606 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.328, allocations: 43.91 kB / 0.5606 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.3285, allocations: 303.8 kB / 0.5609 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.3287, allocations: 62.58 kB / 0.561 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.12e-05/0.3288, allocations: 24.97 kB / 0.561 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.3288, allocations: 0 / 0.561 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.3288, allocations: 38.55 kB / 0.561 GB, free: 3.352 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.3288, allocations: 3.938 kB / 0.561 GB, free: 3.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001528/0.3304, allocations: 421 kB / 0.5614 GB, free: 2.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.3304, allocations: 55.41 kB / 0.5615 GB, free: 2.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.3307, allocations: 227.2 kB / 0.5617 GB, free: 2.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.3307, allocations: 25.7 kB / 0.5617 GB, free: 2.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.564e-05/0.3308, allocations: 108.1 kB / 0.5618 GB, free: 2.484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/0.3308, allocations: 43.62 kB / 0.5619 GB, free: 2.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.3308, allocations: 21.72 kB / 0.5619 GB, free: 2.414 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.331, allocations: 330.8 kB / 0.5622 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.3311, allocations: 47.97 kB / 0.5623 GB, free: 2.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.3313, allocations: 59.89 kB / 0.5623 GB, free: 1.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.3316, allocations: 129 kB / 0.5624 GB, free: 1.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3316, allocations: 0 / 0.5624 GB, free: 1.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003616/0.3319, allocations: 165.5 kB / 0.5626 GB, free: 1.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3319, allocations: 12 kB / 0.5626 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.332, allocations: 0 / 0.5626 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.332, allocations: 7.875 kB / 0.5626 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.3321, allocations: 27.92 kB / 0.5627 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.3321, allocations: 3.984 kB / 0.5627 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.099e-05/0.3322, allocations: 12 kB / 0.5627 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.3322, allocations: 0.5625 kB / 0.5627 GB, free: 1.617 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 (11): * Single equations (assignments): 11 * 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.0001164/0.3323, allocations: 133.8 kB / 0.5628 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.3323, allocations: 15.89 kB / 0.5628 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004425/0.3328, allocations: 198.9 kB / 0.563 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.3328, allocations: 7.938 kB / 0.563 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3328, allocations: 0 / 0.563 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3328, allocations: 0 / 0.563 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007759/0.3336, allocations: 479 kB / 0.5635 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.3336, allocations: 4 kB / 0.5635 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.3337, allocations: 23.98 kB / 0.5635 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3337, allocations: 0 / 0.5635 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.3337, allocations: 11.94 kB / 0.5635 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3337, allocations: 0 / 0.5635 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3337, allocations: 0 / 0.5635 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/0.3341, allocations: 281.1 kB / 0.5638 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.826e-05/0.3341, allocations: 19.83 kB / 0.5638 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.3342, allocations: 4 kB / 0.5638 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3343, allocations: 11.98 kB / 0.5638 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.3343, allocations: 11.97 kB / 0.5638 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.3343, allocations: 8 kB / 0.5638 GB, free: 340 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001523/0.3345, allocations: 160.3 kB / 0.564 GB, free: 180 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3345, allocations: 0 / 0.564 GB, free: 180 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.3348, allocations: 31.92 kB / 0.564 GB, free: 148 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002555/0.3373, allocations: 1.194 MB / 0.5652 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003741/0.3377, allocations: 135.8 kB / 0.5653 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3377, allocations: 0 / 0.5653 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.3378, allocations: 63.89 kB / 0.5654 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.3382, allocations: 19.75 kB / 0.5654 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.3408, allocations: 1.977 MB / 0.5673 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.3409, allocations: 117.7 kB / 0.5674 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.341, allocations: 32.45 kB / 0.5675 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.35e-05/0.3411, allocations: 47.41 kB / 0.5675 GB, free: 12.64 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3411, allocations: 0 / 0.5675 GB, free: 12.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.3702, allocations: 4.184 MB / 0.5716 GB, free: 8.504 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.69, allocations: 11.08 kB / 0.5716 GB, free: 8.5 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.658947764430195]