Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.001395/0.001395, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001532/0.001532, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2716/0.2716, allocations: 44.92 MB / 358.8 MB, free: 6.379 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.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",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.002118/0.002118, allocations: 71.89 kB / 0.4931 GB, free: 10.74 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3198, allocations: 65.47 MB / 0.557 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.00431/0.3241, allocations: 1.623 MB / 0.5586 GB, free: 6.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.3262, allocations: 1.267 MB / 0.5599 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.679e-05/0.3263, allocations: 0 / 0.5599 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.3265, allocations: 27.8 kB / 0.5599 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003441/0.3269, allocations: 83.67 kB / 0.56 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004245/0.3273, allocations: 107.7 kB / 0.5601 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.3275, allocations: 75.75 kB / 0.5601 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.3276, allocations: 9.828 kB / 0.5602 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.739e-05/0.3277, allocations: 27.92 kB / 0.5602 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.3278, allocations: 43.77 kB / 0.5602 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.3279, allocations: 4 kB / 0.5602 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.3281, allocations: 95.94 kB / 0.5603 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.857e-05/0.3281, allocations: 15.92 kB / 0.5603 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.143e-05/0.3281, allocations: 19.88 kB / 0.5603 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.3284, allocations: 151.4 kB / 0.5605 GB, free: 4.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3284, allocations: 0 / 0.5605 GB, free: 4.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3284, allocations: 0 / 0.5605 GB, free: 4.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3284, allocations: 0 / 0.5605 GB, free: 4.25 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.0005002/0.3289, allocations: 325.7 kB / 0.5608 GB, free: 3.902 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.329, allocations: 12.03 kB / 0.5608 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.304e-05/0.329, allocations: 34.75 kB / 0.5608 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.3291, allocations: 8.891 kB / 0.5609 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.3293, allocations: 134.4 kB / 0.561 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.735e-06/0.3293, allocations: 4.375 kB / 0.561 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.3293, allocations: 4.312 kB / 0.561 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.3294, allocations: 67.33 kB / 0.5611 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3294, allocations: 4 kB / 0.5611 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.3295, allocations: 4 kB / 0.5611 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3295, allocations: 0 / 0.5611 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.575e-05/0.3296, allocations: 19.98 kB / 0.5611 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/0.33, allocations: 259.9 kB / 0.5613 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.3302, allocations: 46.55 kB / 0.5614 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.466e-05/0.3302, allocations: 20.94 kB / 0.5614 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.3303, allocations: 3.984 kB / 0.5614 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.3303, allocations: 34.56 kB / 0.5614 GB, free: 3.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.3303, allocations: 0 / 0.5614 GB, free: 3.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006316/0.3309, allocations: 149.4 kB / 0.5616 GB, free: 2.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/0.331, allocations: 81.11 kB / 0.5617 GB, free: 2.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.3312, allocations: 145.8 kB / 0.5618 GB, free: 2.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.3312, allocations: 25.7 kB / 0.5618 GB, free: 2.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.849e-05/0.3313, allocations: 96.08 kB / 0.5619 GB, free: 2.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.3313, allocations: 19.84 kB / 0.5619 GB, free: 2.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.3313, allocations: 17.72 kB / 0.5619 GB, free: 2.574 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3315, allocations: 330.7 kB / 0.5623 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.682e-05/0.3316, allocations: 19.98 kB / 0.5623 GB, free: 2.223 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-05/0.3317, allocations: 37.64 kB / 0.5623 GB, free: 2.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.3318, allocations: 57.02 kB / 0.5624 GB, free: 2.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3318, allocations: 0 / 0.5624 GB, free: 2.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002086/0.332, allocations: 85.61 kB / 0.5625 GB, free: 2.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.332, allocations: 14.53 kB / 0.5625 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.332, allocations: 0 / 0.5625 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.3321, allocations: 3.938 kB / 0.5625 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.433e-05/0.3321, allocations: 11.98 kB / 0.5625 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.3321, allocations: 0 / 0.5625 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.154e-05/0.3322, allocations: 11.88 kB / 0.5625 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.3322, allocations: 4 kB / 0.5625 GB, free: 1.988 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 0.000105/0.3323, allocations: 117.8 kB / 0.5626 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.3323, allocations: 7.953 kB / 0.5626 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.3326, allocations: 94.06 kB / 0.5627 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.3326, allocations: 3.984 kB / 0.5627 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3326, allocations: 4 kB / 0.5627 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.3326, allocations: 3.938 kB / 0.5627 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004998/0.3331, allocations: 325.6 kB / 0.563 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3331, allocations: 3.984 kB / 0.563 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.626e-05/0.3332, allocations: 12 kB / 0.563 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.3332, allocations: 4 kB / 0.563 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3332, allocations: 3.938 kB / 0.563 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3332, allocations: 0 / 0.563 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3332, allocations: 0 / 0.563 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.3335, allocations: 191.6 kB / 0.5632 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.3335, allocations: 7.938 kB / 0.5632 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.3336, allocations: 11.94 kB / 0.5633 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.732e-05/0.3336, allocations: 4 kB / 0.5633 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.3337, allocations: 3.984 kB / 0.5633 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.3337, allocations: 4 kB / 0.5633 GB, free: 1.109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.3338, allocations: 107.3 kB / 0.5634 GB, free: 1.004 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3338, allocations: 0 / 0.5634 GB, free: 1.004 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000314/0.3341, allocations: 43.86 kB / 0.5634 GB, free: 0.9609 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.002449/0.3366, allocations: 1.119 MB / 0.5645 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002492/0.3368, allocations: 51.84 kB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3368, allocations: 0 / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.415e-05/0.3369, allocations: 27.97 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.3372, allocations: 16 kB / 0.5646 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.3392, allocations: 1.45 MB / 0.566 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.3395, allocations: 0.6962 MB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.363e-05/0.3396, allocations: 19.77 kB / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.286e-05/0.3397, allocations: 27.42 kB / 0.5667 GB, free: 13.62 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3397, allocations: 0 / 0.5667 GB, free: 13.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03264/0.3723, allocations: 3.418 MB / 0.5701 GB, free: 10.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.53, allocations: 7.438 kB / 0.5701 GB, free: 10.23 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.642169924918562]