Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.001553/0.001553, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001878/0.001878, allocations: 216.8 kB / 24.52 MB, free: 3.91 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.52/1.52, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2192/0.2192, allocations: 44.93 MB / 359.6 MB, free: 6.09 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.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",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.001973/0.001973, allocations: 63.91 kB / 0.4938 GB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3295, allocations: 65.47 MB / 0.5577 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003838/0.3333, allocations: 1.972 MB / 0.5597 GB, free: 5.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002078/0.3354, allocations: 1.1 MB / 0.5607 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.918e-05/0.3355, allocations: 0 / 0.5607 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000572/0.3361, allocations: 267.1 kB / 0.561 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005337/0.3366, allocations: 267 kB / 0.5612 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.338, allocations: 0.6609 MB / 0.5619 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004956/0.3385, allocations: 358.8 kB / 0.5622 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.3387, allocations: 58.73 kB / 0.5623 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.3389, allocations: 147.4 kB / 0.5624 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.3392, allocations: 231.2 kB / 0.5627 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.3392, allocations: 12 kB / 0.5627 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.3394, allocations: 75.95 kB / 0.5627 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.3395, allocations: 107.5 kB / 0.5628 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.3396, allocations: 99.16 kB / 0.5629 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004465/0.3401, allocations: 366.2 kB / 0.5633 GB, free: 1.883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3401, allocations: 0 / 0.5633 GB, free: 1.883 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3401, allocations: 0 / 0.5633 GB, free: 1.883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.3401, allocations: 0 / 0.5633 GB, free: 1.883 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000853/0.3409, allocations: 0.6359 MB / 0.5639 GB, free: 1.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.341, allocations: 8.031 kB / 0.5639 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.196e-05/0.341, allocations: 4.188 kB / 0.5639 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.175e-05/0.341, allocations: 42.75 kB / 0.564 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.437e-05/0.3411, allocations: 44.66 kB / 0.564 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.3415, allocations: 288.6 kB / 0.5643 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.3415, allocations: 8.375 kB / 0.5643 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.3415, allocations: 20.11 kB / 0.5643 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.3418, allocations: 129.5 kB / 0.5644 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.3418, allocations: 7.953 kB / 0.5644 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.3418, allocations: 4 kB / 0.5644 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3418, allocations: 0 / 0.5644 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.3421, allocations: 95.88 kB / 0.5645 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007185/0.3428, allocations: 475.5 kB / 0.565 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.343, allocations: 106.5 kB / 0.5651 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.261e-05/0.3431, allocations: 40.83 kB / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.3431, allocations: 4.219 kB / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.3432, allocations: 46.38 kB / 0.5652 GB, free: 15.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.3432, allocations: 0 / 0.5652 GB, free: 15.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001051/0.3442, allocations: 450.6 kB / 0.5656 GB, free: 15.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.3443, allocations: 55.41 kB / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007147/0.345, allocations: 0.6034 MB / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.345, allocations: 33.7 kB / 0.5663 GB, free: 14.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.3452, allocations: 216.4 kB / 0.5665 GB, free: 14.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.674e-05/0.3452, allocations: 55.44 kB / 0.5665 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.919e-05/0.3453, allocations: 45.7 kB / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.3455, allocations: 358.7 kB / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.3456, allocations: 71.89 kB / 0.567 GB, free: 13.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.3458, allocations: 63.97 kB / 0.567 GB, free: 13.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.3461, allocations: 155.4 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3461, allocations: 4 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004456/0.3465, allocations: 237.2 kB / 0.5674 GB, free: 13.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3465, allocations: 4 kB / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3465, allocations: 0 / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3465, allocations: 0 / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.3467, allocations: 35.98 kB / 0.5675 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3467, allocations: 0 / 0.5675 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.971e-05/0.3468, allocations: 11.98 kB / 0.5675 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.3468, allocations: 4 kB / 0.5675 GB, free: 13.38 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 (17): * Single equations (assignments): 17 * 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.000195/0.347, allocations: 189.7 kB / 0.5677 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.306e-05/0.3471, allocations: 47.67 kB / 0.5677 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005672/0.3477, allocations: 280.2 kB / 0.568 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.3477, allocations: 4 kB / 0.568 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3477, allocations: 0 / 0.568 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3477, allocations: 0 / 0.568 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009945/0.3487, allocations: 0.6456 MB / 0.5686 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3487, allocations: 0 / 0.5686 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.3488, allocations: 31.92 kB / 0.5686 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.3488, allocations: 4 kB / 0.5686 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.3488, allocations: 7.984 kB / 0.5686 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.3488, allocations: 3.938 kB / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3488, allocations: 0 / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005012/0.3493, allocations: 339.1 kB / 0.569 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.3494, allocations: 47.62 kB / 0.569 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.3494, allocations: 12 kB / 0.569 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.3495, allocations: 7.938 kB / 0.569 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.3496, allocations: 7.984 kB / 0.569 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.3496, allocations: 11.98 kB / 0.5691 GB, free: 11.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005348/0.3501, allocations: 454.8 kB / 0.5695 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3501, allocations: 0 / 0.5695 GB, free: 11.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003279/0.3505, allocations: 47.94 kB / 0.5695 GB, free: 11.19 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 (17): * Single equations (assignments): 17 * 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.00373/0.3542, allocations: 1.532 MB / 0.571 GB, free: 9.988 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003937/0.3546, allocations: 155.8 kB / 0.5712 GB, free: 9.836 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3546, allocations: 0 / 0.5712 GB, free: 9.836 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.3548, allocations: 91.88 kB / 0.5713 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005943/0.3554, allocations: 80.69 kB / 0.5713 GB, free: 9.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004474/0.3598, allocations: 3.343 MB / 0.5746 GB, free: 6.254 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.3601, allocations: 228.8 kB / 0.5748 GB, free: 6.012 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001815/0.3603, allocations: 62.23 kB / 0.5749 GB, free: 5.953 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.3604, allocations: 135.4 kB / 0.575 GB, free: 5.82 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3604, allocations: 0 / 0.575 GB, free: 5.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02995/0.3904, allocations: 8.303 MB / 0.5831 GB, free: 13.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.35, allocations: 6.344 kB / 0.5831 GB, free: 13.53 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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: 15.625470402999781]