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.001294/0.001294, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.0014/0.0014, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2276/0.2276, allocations: 46.93 MB / 360.9 MB, free: 4.262 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.002035/0.002035, allocations: 71.89 kB / 0.4962 GB, free: 7.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3431, allocations: 66.04 MB / 0.5607 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.00318/0.3463, allocations: 1.706 MB / 0.5623 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.3473, allocations: 0.5971 MB / 0.5629 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.988e-05/0.3474, allocations: 0 / 0.5629 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.3477, allocations: 71.77 kB / 0.563 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.3479, allocations: 107.6 kB / 0.5631 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004322/0.3484, allocations: 183.3 kB / 0.5633 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.3486, allocations: 95.73 kB / 0.5634 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3487, allocations: 14.06 kB / 0.5634 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.702e-05/0.3487, allocations: 47.77 kB / 0.5634 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.3489, allocations: 63.75 kB / 0.5635 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.3489, allocations: 8 kB / 0.5635 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.349, allocations: 55.97 kB / 0.5635 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.3491, allocations: 19.92 kB / 0.5636 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.218e-05/0.3491, allocations: 43.67 kB / 0.5636 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.3493, allocations: 119.5 kB / 0.5637 GB, free: 1.332 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3493, allocations: 7.938 kB / 0.5637 GB, free: 1.324 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3493, allocations: 3.938 kB / 0.5637 GB, free: 1.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.3494, allocations: 0 / 0.5637 GB, free: 1.32 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.0005779/0.3499, allocations: 365.5 kB / 0.5641 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.35, allocations: 8.031 kB / 0.5641 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.42e-05/0.35, allocations: 38.73 kB / 0.5641 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.3501, allocations: 16.84 kB / 0.5641 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.3503, allocations: 146.8 kB / 0.5643 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.3503, allocations: 4.375 kB / 0.5643 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.3503, allocations: 8.375 kB / 0.5643 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.3505, allocations: 65.55 kB / 0.5643 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3505, allocations: 8 kB / 0.5644 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.3505, allocations: 0 / 0.5644 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3505, allocations: 0 / 0.5644 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.3507, allocations: 43.95 kB / 0.5644 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.3511, allocations: 307.7 kB / 0.5647 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.3514, allocations: 62.48 kB / 0.5647 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.831e-05/0.3515, allocations: 28.95 kB / 0.5648 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.3515, allocations: 0 / 0.5648 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.3515, allocations: 38.56 kB / 0.5648 GB, free: 72 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/0.3515, allocations: 0 / 0.5648 GB, free: 72 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001492/0.353, allocations: 437.3 kB / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.3531, allocations: 51.41 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.3533, allocations: 218.7 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.3533, allocations: 37.69 kB / 0.5655 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.458e-05/0.3534, allocations: 100.1 kB / 0.5656 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.362e-05/0.3535, allocations: 35.69 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/0.3535, allocations: 33.7 kB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.3537, allocations: 326.8 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.3538, allocations: 51.95 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.354, allocations: 55.95 kB / 0.5661 GB, free: 14.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.3543, allocations: 125.1 kB / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.3543, allocations: 7.922 kB / 0.5662 GB, free: 14.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003564/0.3546, allocations: 169.4 kB / 0.5664 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3546, allocations: 4 kB / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.3546, allocations: 0 / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.3547, allocations: 3.938 kB / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.3548, allocations: 31.97 kB / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3548, allocations: 7.984 kB / 0.5664 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.709e-05/0.3549, allocations: 7.984 kB / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.3549, allocations: 4 kB / 0.5664 GB, free: 14.33 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.000124/0.355, allocations: 133.8 kB / 0.5666 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.355, allocations: 15.91 kB / 0.5666 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004645/0.3555, allocations: 190.9 kB / 0.5668 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.3555, allocations: 7.938 kB / 0.5668 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3555, allocations: 3.984 kB / 0.5668 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3555, allocations: 0 / 0.5668 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008441/0.3564, allocations: 483 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3564, allocations: 4.062 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.3565, allocations: 31.97 kB / 0.5673 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/0.3565, allocations: 4 kB / 0.5673 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.3565, allocations: 192 / 0.5673 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.3565, allocations: 8.031 kB / 0.5673 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3565, allocations: 7.938 kB / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.357, allocations: 277 kB / 0.5676 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.357, allocations: 15.91 kB / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.357, allocations: 3.984 kB / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.3571, allocations: 8 kB / 0.5676 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.3572, allocations: 15.97 kB / 0.5676 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.3572, allocations: 7.984 kB / 0.5676 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001919/0.3574, allocations: 176.2 kB / 0.5678 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3574, allocations: 0 / 0.5678 GB, free: 12.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002918/0.3577, allocations: 27.94 kB / 0.5678 GB, free: 12.84 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.002442/0.3601, allocations: 1.158 MB / 0.5689 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003648/0.3605, allocations: 123.9 kB / 0.5691 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3605, allocations: 0 / 0.5691 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.3606, allocations: 63.89 kB / 0.5691 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.3611, allocations: 29.3 kB / 0.5691 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002806/0.3639, allocations: 1.99 MB / 0.5711 GB, free: 9.543 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.3643, allocations: 0.7158 MB / 0.5718 GB, free: 8.801 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000111/0.3644, allocations: 32.45 kB / 0.5718 GB, free: 8.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.575e-05/0.3645, allocations: 47.42 kB / 0.5719 GB, free: 8.723 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3645, allocations: 0 / 0.5719 GB, free: 8.723 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0308/0.3953, allocations: 3.817 MB / 0.5756 GB, free: 4.965 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.52, allocations: 7.812 kB / 0.5756 GB, free: 4.961 MB / 414.1 MB " [Timeout remaining time 648] (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.478822086937726]