Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001577/0.001577, allocations: 112.5 kB / 21.22 MB, free: 0.75 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.002414/0.002414, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.497/1.497, allocations: 230.6 MB / 258.3 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.2315/0.2315, allocations: 44.91 MB / 359.6 MB, free: 6.25 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.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="cs",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.002108/0.002108, allocations: 71.89 kB / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3323, allocations: 65.48 MB / 0.5578 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003142/0.3354, allocations: 1.628 MB / 0.5594 GB, free: 6.113 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.3365, allocations: 0.5582 MB / 0.5599 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.509e-05/0.3365, allocations: 3.938 kB / 0.56 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.3368, allocations: 75.77 kB / 0.56 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.3371, allocations: 103.6 kB / 0.5601 GB, free: 5.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.3374, allocations: 87.77 kB / 0.5602 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.3375, allocations: 91.73 kB / 0.5603 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.237e-05/0.3376, allocations: 9.828 kB / 0.5603 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.929e-05/0.3377, allocations: 43.83 kB / 0.5603 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.3378, allocations: 59.81 kB / 0.5604 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.3378, allocations: 7.938 kB / 0.5604 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.587e-05/0.3379, allocations: 47.98 kB / 0.5605 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.294e-05/0.338, allocations: 19.92 kB / 0.5605 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.365e-05/0.338, allocations: 35.72 kB / 0.5605 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.3382, allocations: 103.5 kB / 0.5606 GB, free: 4.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3382, allocations: 0 / 0.5606 GB, free: 4.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3382, allocations: 0 / 0.5606 GB, free: 4.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3382, allocations: 0 / 0.5606 GB, free: 4.875 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000468/0.3387, allocations: 349.5 kB / 0.5609 GB, free: 4.504 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.3387, allocations: 12.03 kB / 0.561 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.135e-05/0.3387, allocations: 4.188 kB / 0.561 GB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.111e-05/0.3388, allocations: 34.75 kB / 0.561 GB, free: 4.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.3388, allocations: 16.84 kB / 0.561 GB, free: 4.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.339, allocations: 143 kB / 0.5611 GB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.339, allocations: 4.375 kB / 0.5611 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.339, allocations: 4.125 kB / 0.5612 GB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.3392, allocations: 53.62 kB / 0.5612 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3392, allocations: 7.938 kB / 0.5612 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-06/0.3392, allocations: 4 kB / 0.5612 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3392, allocations: 0 / 0.5612 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.3393, allocations: 31.95 kB / 0.5612 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.3397, allocations: 259.9 kB / 0.5615 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.3398, allocations: 42.5 kB / 0.5615 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.877e-05/0.3398, allocations: 24.94 kB / 0.5616 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.3399, allocations: 0 / 0.5616 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.3399, allocations: 30.56 kB / 0.5616 GB, free: 3.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3399, allocations: 0 / 0.5616 GB, free: 3.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009147/0.3408, allocations: 229.6 kB / 0.5618 GB, free: 3.508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.3408, allocations: 55.34 kB / 0.5619 GB, free: 3.441 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.3411, allocations: 210.3 kB / 0.5621 GB, free: 3.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.3411, allocations: 25.7 kB / 0.5621 GB, free: 3.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.728e-05/0.3412, allocations: 112.1 kB / 0.5622 GB, free: 3.082 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.3412, allocations: 27.81 kB / 0.5622 GB, free: 3.055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.3412, allocations: 25.72 kB / 0.5622 GB, free: 3.023 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3414, allocations: 326.8 kB / 0.5626 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.3415, allocations: 27.97 kB / 0.5626 GB, free: 2.668 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.471e-05/0.3415, allocations: 27.92 kB / 0.5626 GB, free: 2.641 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.3417, allocations: 65.05 kB / 0.5627 GB, free: 2.574 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3417, allocations: 0 / 0.5627 GB, free: 2.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002211/0.3419, allocations: 97.56 kB / 0.5628 GB, free: 2.473 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3419, allocations: 12 kB / 0.5628 GB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.3419, allocations: 0 / 0.5628 GB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.3419, allocations: 0 / 0.5628 GB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.3421, allocations: 15.98 kB / 0.5628 GB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.3421, allocations: 7.938 kB / 0.5628 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.418e-05/0.3421, allocations: 7.922 kB / 0.5628 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.3421, allocations: 4 kB / 0.5628 GB, free: 2.426 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 (8): * Single equations (assignments): 8 * 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.0001053/0.3422, allocations: 129.8 kB / 0.5629 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.939e-05/0.3423, allocations: 19.89 kB / 0.5629 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002837/0.3425, allocations: 115 kB / 0.5631 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3425, allocations: 0 / 0.5631 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3425, allocations: 7.938 kB / 0.5631 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.3426, allocations: 0 / 0.5631 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005388/0.3431, allocations: 374.4 kB / 0.5634 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.3431, allocations: 11.97 kB / 0.5634 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.831e-05/0.3432, allocations: 19.92 kB / 0.5635 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3432, allocations: 0 / 0.5635 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.3432, allocations: 4 kB / 0.5635 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3432, allocations: 0 / 0.5635 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3432, allocations: 3.938 kB / 0.5635 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.3435, allocations: 208.3 kB / 0.5637 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.3435, allocations: 15.84 kB / 0.5637 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.3435, allocations: 0 / 0.5637 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.458e-05/0.3436, allocations: 4 kB / 0.5637 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.3436, allocations: 11.92 kB / 0.5637 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.3436, allocations: 8 kB / 0.5637 GB, free: 1.414 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.3438, allocations: 160.2 kB / 0.5638 GB, free: 1.258 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3438, allocations: 4 kB / 0.5639 GB, free: 1.254 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.344, allocations: 27.92 kB / 0.5639 GB, free: 1.227 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 (8): * Single equations (assignments): 8 * 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.002189/0.3462, allocations: 1.088 MB / 0.5649 GB, free: 304 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.3464, allocations: 59.91 kB / 0.565 GB, free: 244 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3464, allocations: 0 / 0.565 GB, free: 244 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.549e-05/0.3465, allocations: 35.91 kB / 0.565 GB, free: 208 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.3469, allocations: 25.67 kB / 0.5651 GB, free: 184 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.3491, allocations: 1.673 MB / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.3495, allocations: 0.712 MB / 0.5674 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.848e-05/0.3496, allocations: 20.89 kB / 0.5674 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.045e-05/0.3496, allocations: 35.42 kB / 0.5674 GB, free: 13.63 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3496, allocations: 0 / 0.5674 GB, free: 13.63 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.3734, allocations: 3.309 MB / 0.5707 GB, free: 10.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.57, allocations: 14.38 kB / 0.5707 GB, free: 10.39 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.75133714999538]