Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001766/0.001766, 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.002231/0.002231, allocations: 209.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.487/1.487, 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.2456/0.2456, allocations: 46.97 MB / 360.9 MB, free: 4.039 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.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 67.89 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3269, allocations: 66.04 MB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.00315/0.33, allocations: 1.672 MB / 0.5623 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.3311, allocations: 0.5582 MB / 0.5628 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.3312, allocations: 0 / 0.5628 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002366/0.3314, allocations: 71.77 kB / 0.5629 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.3317, allocations: 107.6 kB / 0.563 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004168/0.3321, allocations: 183.2 kB / 0.5631 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.3323, allocations: 103.7 kB / 0.5632 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3324, allocations: 10.06 kB / 0.5632 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.155e-05/0.3325, allocations: 51.77 kB / 0.5633 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.3326, allocations: 55.81 kB / 0.5634 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.3326, allocations: 4 kB / 0.5634 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.3327, allocations: 51.97 kB / 0.5634 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.7e-05/0.3328, allocations: 31.86 kB / 0.5634 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.3328, allocations: 23.8 kB / 0.5635 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.3331, allocations: 135.4 kB / 0.5636 GB, free: 1.164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3331, allocations: 0 / 0.5636 GB, free: 1.164 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3331, allocations: 0 / 0.5636 GB, free: 1.164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.3331, allocations: 0 / 0.5636 GB, free: 1.164 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.0005954/0.3337, allocations: 365.4 kB / 0.5639 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.3337, allocations: 12.03 kB / 0.5639 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.44e-05/0.3338, allocations: 34.75 kB / 0.564 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.3338, allocations: 20.83 kB / 0.564 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.334, allocations: 146.3 kB / 0.5641 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.3341, allocations: 12.31 kB / 0.5642 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.3341, allocations: 384 / 0.5642 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.3343, allocations: 65.61 kB / 0.5642 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3343, allocations: 0 / 0.5642 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.3343, allocations: 4 kB / 0.5642 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3343, allocations: 8 kB / 0.5642 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.3345, allocations: 39.95 kB / 0.5643 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004849/0.3349, allocations: 307.6 kB / 0.5646 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.3352, allocations: 54.59 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.221e-05/0.3353, allocations: 24.92 kB / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.3353, allocations: 96 / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.3353, allocations: 46.5 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.3353, allocations: 0 / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001516/0.3369, allocations: 425.3 kB / 0.5651 GB, free: 15.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.3369, allocations: 51.41 kB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.3371, allocations: 223.2 kB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.3372, allocations: 33.7 kB / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.3372, allocations: 112.1 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.3373, allocations: 35.69 kB / 0.5655 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-05/0.3373, allocations: 29.72 kB / 0.5655 GB, free: 14.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3375, allocations: 322.8 kB / 0.5659 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.3376, allocations: 51.95 kB / 0.5659 GB, free: 14.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.3378, allocations: 55.95 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.3381, allocations: 128.7 kB / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3381, allocations: 0 / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003585/0.3384, allocations: 169.5 kB / 0.5662 GB, free: 14.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3384, allocations: 4 kB / 0.5662 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3384, allocations: 4 kB / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3385, allocations: 3.938 kB / 0.5663 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.3386, allocations: 31.98 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3386, allocations: 0 / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.531e-05/0.3387, allocations: 11.98 kB / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3387, allocations: 3.938 kB / 0.5663 GB, free: 14.18 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 (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.0001344/0.3388, allocations: 133.8 kB / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.3388, allocations: 15.89 kB / 0.5664 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004851/0.3393, allocations: 191.4 kB / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.3393, allocations: 7.938 kB / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3393, allocations: 3.938 kB / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3393, allocations: 0 / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007791/0.3401, allocations: 471 kB / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.3401, allocations: 3.984 kB / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.3402, allocations: 35.92 kB / 0.5671 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3402, allocations: 4.062 kB / 0.5671 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.3403, allocations: 288 / 0.5671 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.3403, allocations: 11.94 kB / 0.5671 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3403, allocations: 0 / 0.5671 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004311/0.3407, allocations: 277.1 kB / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.67e-05/0.3407, allocations: 15.89 kB / 0.5674 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.3407, allocations: 4 kB / 0.5674 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.3408, allocations: 15.98 kB / 0.5674 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.3409, allocations: 15.92 kB / 0.5675 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.3409, allocations: 7.938 kB / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001514/0.341, allocations: 164.3 kB / 0.5676 GB, free: 12.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.341, allocations: 0 / 0.5676 GB, free: 12.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.3413, allocations: 31.92 kB / 0.5676 GB, free: 12.7 MB / 414.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.002434/0.3438, allocations: 1.191 MB / 0.5688 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000375/0.3441, allocations: 131.8 kB / 0.5689 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3441, allocations: 4 kB / 0.5689 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.3443, allocations: 63.89 kB / 0.569 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.3447, allocations: 21.38 kB / 0.569 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.3475, allocations: 1.983 MB / 0.571 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.3477, allocations: 105.8 kB / 0.5711 GB, free: 9.285 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.3478, allocations: 32.47 kB / 0.5711 GB, free: 9.254 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.494e-05/0.3479, allocations: 47.41 kB / 0.5711 GB, free: 9.207 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3479, allocations: 0 / 0.5711 GB, free: 9.207 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03114/0.379, allocations: 4.192 MB / 0.5752 GB, free: 5.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.26, allocations: 0.9375 kB / 0.5752 GB, free: 5.07 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.289415506646037]