Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001819/0.001819, 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.002278/0.002278, allocations: 207.7 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.499/1.499, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2577/0.2577, allocations: 46.96 MB / 360.9 MB, free: 4.035 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.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 71.88 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3333, allocations: 66.03 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003683/0.337, allocations: 1.593 MB / 0.5622 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.3382, allocations: 0.5232 MB / 0.5627 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.444e-05/0.3383, allocations: 0 / 0.5627 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.3385, allocations: 23.84 kB / 0.5627 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.3388, allocations: 83.56 kB / 0.5628 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.3391, allocations: 119.2 kB / 0.5629 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.3393, allocations: 63.84 kB / 0.563 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.859e-05/0.3394, allocations: 9.812 kB / 0.563 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.306e-05/0.3394, allocations: 23.86 kB / 0.563 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.722e-05/0.3395, allocations: 23.86 kB / 0.563 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.3395, allocations: 4 kB / 0.563 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.872e-05/0.3396, allocations: 35.98 kB / 0.563 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.048e-05/0.3396, allocations: 15.91 kB / 0.5631 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.3397, allocations: 15.88 kB / 0.5631 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.3398, allocations: 79.61 kB / 0.5632 GB, free: 1.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3398, allocations: 8 kB / 0.5632 GB, free: 1.609 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3398, allocations: 0 / 0.5632 GB, free: 1.609 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.3398, allocations: 0 / 0.5632 GB, free: 1.609 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.0004442/0.3403, allocations: 305.9 kB / 0.5635 GB, free: 1.281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3403, allocations: 12.03 kB / 0.5635 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.882e-05/0.3404, allocations: 34.75 kB / 0.5635 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.3404, allocations: 8.891 kB / 0.5635 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.3406, allocations: 134.4 kB / 0.5636 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.3406, allocations: 384 / 0.5636 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.3406, allocations: 8.312 kB / 0.5636 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.3408, allocations: 61.56 kB / 0.5637 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3408, allocations: 0 / 0.5637 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.3408, allocations: 0 / 0.5637 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3408, allocations: 0 / 0.5637 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.848e-05/0.3409, allocations: 27.97 kB / 0.5637 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.3413, allocations: 244 kB / 0.564 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.3415, allocations: 50.48 kB / 0.564 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.736e-05/0.3416, allocations: 16.86 kB / 0.564 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.755e-05/0.3416, allocations: 96 / 0.564 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.3417, allocations: 42.55 kB / 0.5641 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.3417, allocations: 0 / 0.5641 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005999/0.3423, allocations: 153.4 kB / 0.5642 GB, free: 404 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.3423, allocations: 51.41 kB / 0.5643 GB, free: 340 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.3425, allocations: 148.3 kB / 0.5644 GB, free: 180 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.3425, allocations: 29.7 kB / 0.5644 GB, free: 144 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.474e-05/0.3426, allocations: 100.1 kB / 0.5645 GB, free: 40 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.3426, allocations: 19.86 kB / 0.5645 GB, free: 20 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.676e-05/0.3426, allocations: 17.72 kB / 0.5646 GB, free: 16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3428, allocations: 326.8 kB / 0.5649 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.66e-05/0.3429, allocations: 19.98 kB / 0.5649 GB, free: 15.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.824e-05/0.3429, allocations: 23.97 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.3431, allocations: 48.83 kB / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3431, allocations: 3.938 kB / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002004/0.3433, allocations: 89.62 kB / 0.5651 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3433, allocations: 10.64 kB / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3433, allocations: 0 / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3433, allocations: 0 / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.329e-05/0.3434, allocations: 12 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3434, allocations: 0 / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.238e-05/0.3434, allocations: 7.984 kB / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.3434, allocations: 7.922 kB / 0.5651 GB, free: 15.44 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 (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 9.303e-05/0.3435, allocations: 117.8 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.3436, allocations: 12.23 kB / 0.5652 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.3438, allocations: 97.98 kB / 0.5653 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3438, allocations: 7.922 kB / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3438, allocations: 4 kB / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3438, allocations: 0 / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004822/0.3443, allocations: 333.8 kB / 0.5656 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3443, allocations: 0 / 0.5656 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.992e-05/0.3444, allocations: 15.98 kB / 0.5656 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.3444, allocations: 4 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.3444, allocations: 0 / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.3444, allocations: 3.938 kB / 0.5657 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3444, allocations: 0 / 0.5657 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.3447, allocations: 179.5 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.611e-05/0.3447, allocations: 11.95 kB / 0.5658 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.3447, allocations: 0 / 0.5658 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.392e-05/0.3448, allocations: 11.92 kB / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.3448, allocations: 0 / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.3448, allocations: 8 kB / 0.5659 GB, free: 14.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.3449, allocations: 115.2 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3449, allocations: 3.938 kB / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.3452, allocations: 15.94 kB / 0.566 GB, free: 14.43 MB / 414.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.002047/0.3472, allocations: 1.047 MB / 0.567 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.3474, allocations: 55.89 kB / 0.5671 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3474, allocations: 4 kB / 0.5671 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.83e-05/0.3475, allocations: 23.98 kB / 0.5671 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.3478, allocations: 21.55 kB / 0.5671 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.3496, allocations: 1.468 MB / 0.5685 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.671e-05/0.3497, allocations: 83.27 kB / 0.5686 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.279e-05/0.3498, allocations: 15.84 kB / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.3498, allocations: 23.38 kB / 0.5687 GB, free: 11.75 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3498, allocations: 0 / 0.5687 GB, free: 11.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03113/0.381, allocations: 3.131 MB / 0.5717 GB, free: 8.656 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.38, allocations: 4.062 kB / 0.5717 GB, free: 8.652 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.44021460879594]