Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001716/0.001716, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002391/0.002391, allocations: 207.5 kB / 23.73 MB, free: 4.379 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.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2339/0.2339, allocations: 46.95 MB / 360.9 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 67.88 kB / 0.4961 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3244, allocations: 66.04 MB / 0.5606 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003267/0.3277, allocations: 1.636 MB / 0.5622 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.3289, allocations: 0.5231 MB / 0.5627 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.902e-05/0.329, allocations: 8 kB / 0.5627 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.3293, allocations: 95.67 kB / 0.5628 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003376/0.3297, allocations: 115.6 kB / 0.5629 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.33, allocations: 95.69 kB / 0.563 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.3301, allocations: 103.8 kB / 0.5631 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.3303, allocations: 25.8 kB / 0.5631 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.591e-05/0.3303, allocations: 39.84 kB / 0.5632 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.3304, allocations: 67.8 kB / 0.5633 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.3305, allocations: 4 kB / 0.5633 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.672e-05/0.3306, allocations: 47.98 kB / 0.5633 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.323e-05/0.3306, allocations: 31.84 kB / 0.5633 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.74e-05/0.3307, allocations: 31.73 kB / 0.5634 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.3309, allocations: 127.4 kB / 0.5635 GB, free: 1.258 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3309, allocations: 0 / 0.5635 GB, free: 1.258 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3309, allocations: 0 / 0.5635 GB, free: 1.258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.3309, allocations: 4 kB / 0.5635 GB, free: 1.254 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005457/0.3315, allocations: 357.5 kB / 0.5638 GB, free: 0.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3315, allocations: 12.03 kB / 0.5638 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.901e-05/0.3315, allocations: 34.75 kB / 0.5639 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.3316, allocations: 16.84 kB / 0.5639 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.3318, allocations: 158.2 kB / 0.564 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.3318, allocations: 8.312 kB / 0.564 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.4e-05/0.3319, allocations: 8.359 kB / 0.5641 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.332, allocations: 69.61 kB / 0.5641 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.3321, allocations: 7.938 kB / 0.5641 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.3321, allocations: 8 kB / 0.5641 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3321, allocations: 4 kB / 0.5641 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.3322, allocations: 31.97 kB / 0.5642 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004587/0.3326, allocations: 295.8 kB / 0.5645 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.3328, allocations: 66.55 kB / 0.5645 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.928e-05/0.3328, allocations: 20.84 kB / 0.5645 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.3329, allocations: 0 / 0.5645 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.3329, allocations: 38.5 kB / 0.5646 GB, free: 8 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.3329, allocations: 4 kB / 0.5646 GB, free: 4 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001133/0.334, allocations: 317.4 kB / 0.5649 GB, free: 15.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.3341, allocations: 51.41 kB / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.3343, allocations: 239.5 kB / 0.5652 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.3344, allocations: 33.7 kB / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.676e-05/0.3345, allocations: 116 kB / 0.5653 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.3345, allocations: 39.64 kB / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/0.3345, allocations: 25.72 kB / 0.5654 GB, free: 15.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3347, allocations: 338.8 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.928e-05/0.3348, allocations: 27.98 kB / 0.5657 GB, free: 14.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.762e-05/0.3349, allocations: 39.97 kB / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.3351, allocations: 92.77 kB / 0.5658 GB, free: 14.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3351, allocations: 4 kB / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002696/0.3353, allocations: 137.6 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3354, allocations: 4 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3354, allocations: 0 / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3354, allocations: 3.938 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.3355, allocations: 23.98 kB / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.3355, allocations: 8.062 kB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.323e-05/0.3356, allocations: 11.98 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.3356, allocations: 0 / 0.566 GB, free: 14.45 MB / 414.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.000134/0.3357, allocations: 142.3 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.3357, allocations: 11.91 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003585/0.3361, allocations: 162.4 kB / 0.5663 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3361, allocations: 4 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3361, allocations: 0 / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3361, allocations: 0 / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006779/0.3368, allocations: 450.1 kB / 0.5668 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3368, allocations: 0 / 0.5668 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.803e-05/0.3369, allocations: 27.98 kB / 0.5668 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3369, allocations: 0 / 0.5668 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.3369, allocations: 4 kB / 0.5668 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3369, allocations: 0 / 0.5668 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3369, allocations: 0 / 0.5668 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.3372, allocations: 248.1 kB / 0.567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.34e-05/0.3373, allocations: 11.91 kB / 0.567 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.3373, allocations: 12.03 kB / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/0.3374, allocations: 11.98 kB / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.3374, allocations: 7.984 kB / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.3374, allocations: 4 kB / 0.5671 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001915/0.3376, allocations: 185.1 kB / 0.5672 GB, free: 13.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3376, allocations: 0 / 0.5672 GB, free: 13.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.3379, allocations: 24 kB / 0.5673 GB, free: 13.09 MB / 414.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.002433/0.3403, allocations: 1.169 MB / 0.5684 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002661/0.3406, allocations: 91.89 kB / 0.5685 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3406, allocations: 0 / 0.5685 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.3407, allocations: 55.91 kB / 0.5686 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.3411, allocations: 27.72 kB / 0.5686 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/0.3434, allocations: 1.843 MB / 0.5704 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.3435, allocations: 113.6 kB / 0.5705 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.753e-05/0.3436, allocations: 20.47 kB / 0.5705 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.989e-05/0.3436, allocations: 43.42 kB / 0.5705 GB, free: 9.816 MB / 414.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3436, allocations: 0 / 0.5705 GB, free: 9.816 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03015/0.3738, allocations: 4.13 MB / 0.5746 GB, free: 5.738 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.4, allocations: 6.234 kB / 0.5746 GB, free: 5.734 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.378134128986858]