Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.001289/0.001289, 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.001523/0.001523, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.597/1.597, allocations: 230.6 MB / 258.3 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.2628/0.2628, allocations: 46.96 MB / 361.7 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 75.88 kB / 0.4969 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3614, allocations: 66.02 MB / 0.5614 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003883/0.3653, allocations: 1.97 MB / 0.5633 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.3674, allocations: 1.19 MB / 0.5644 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.3676, allocations: 7.938 kB / 0.5645 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000288/0.3678, allocations: 43.59 kB / 0.5645 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005077/0.3684, allocations: 215.1 kB / 0.5647 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009583/0.3693, allocations: 430.3 kB / 0.5651 GB, free: 360 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004039/0.3697, allocations: 303 kB / 0.5654 GB, free: 56 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.3699, allocations: 44.91 kB / 0.5654 GB, free: 8 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002854/0.3702, allocations: 143.4 kB / 0.5656 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/0.3704, allocations: 203.3 kB / 0.5658 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.3705, allocations: 12 kB / 0.5658 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.3706, allocations: 63.92 kB / 0.5658 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.3708, allocations: 151.5 kB / 0.566 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.3709, allocations: 130.9 kB / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004644/0.3714, allocations: 407.9 kB / 0.5665 GB, free: 14.92 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.3714, allocations: 0 / 0.5665 GB, free: 14.92 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3714, allocations: 0 / 0.5665 GB, free: 14.92 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.3714, allocations: 3.938 kB / 0.5665 GB, free: 14.91 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.00102/0.3724, allocations: 0.7446 MB / 0.5672 GB, free: 14.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3724, allocations: 12.03 kB / 0.5672 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.588e-05/0.3724, allocations: 192 / 0.5672 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.776e-05/0.3725, allocations: 42.73 kB / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002867/0.3728, allocations: 76.5 kB / 0.5674 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006431/0.3734, allocations: 422.4 kB / 0.5678 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.3734, allocations: 16.06 kB / 0.5678 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.3735, allocations: 12 kB / 0.5678 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.3737, allocations: 125 kB / 0.5679 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3737, allocations: 4 kB / 0.5679 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.3737, allocations: 4 kB / 0.5679 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3738, allocations: 4 kB / 0.5679 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002306/0.374, allocations: 79.81 kB / 0.568 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009134/0.3749, allocations: 0.6362 MB / 0.5686 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.3751, allocations: 105.2 kB / 0.5687 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.968e-05/0.3752, allocations: 49.75 kB / 0.5688 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.3752, allocations: 8 kB / 0.5688 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.3753, allocations: 30.56 kB / 0.5688 GB, free: 12.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.3753, allocations: 0 / 0.5688 GB, free: 12.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001373/0.3766, allocations: 0.5267 MB / 0.5693 GB, free: 11.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.3767, allocations: 85.09 kB / 0.5694 GB, free: 11.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.3778, allocations: 0.922 MB / 0.5703 GB, free: 10.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.3778, allocations: 29.7 kB / 0.5703 GB, free: 10.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.3781, allocations: 264.4 kB / 0.5706 GB, free: 10.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.588e-05/0.3781, allocations: 51.52 kB / 0.5706 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.676e-05/0.3782, allocations: 33.7 kB / 0.5707 GB, free: 10.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.3784, allocations: 378.7 kB / 0.571 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.3785, allocations: 55.95 kB / 0.5711 GB, free: 10.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.3787, allocations: 84.42 kB / 0.5712 GB, free: 9.926 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.379, allocations: 125.7 kB / 0.5713 GB, free: 9.797 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.379, allocations: 0 / 0.5713 GB, free: 9.797 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000487/0.3795, allocations: 241.2 kB / 0.5715 GB, free: 9.555 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3795, allocations: 8 kB / 0.5715 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3795, allocations: 0 / 0.5715 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3795, allocations: 0 / 0.5715 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.3798, allocations: 35.97 kB / 0.5715 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.3798, allocations: 4 kB / 0.5716 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.3799, allocations: 15.92 kB / 0.5716 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.3799, allocations: 8 kB / 0.5716 GB, free: 9.484 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002255/0.3801, allocations: 209.7 kB / 0.5718 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.3803, allocations: 71.56 kB / 0.5718 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006061/0.3809, allocations: 271.4 kB / 0.5721 GB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3809, allocations: 0 / 0.5721 GB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3809, allocations: 0 / 0.5721 GB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.3809, allocations: 0 / 0.5721 GB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.382, allocations: 0.7352 MB / 0.5728 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.382, allocations: 0 / 0.5728 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.3822, allocations: 39.91 kB / 0.5729 GB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3822, allocations: 3.938 kB / 0.5729 GB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.3822, allocations: 7.938 kB / 0.5729 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3822, allocations: 0 / 0.5729 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3822, allocations: 0 / 0.5729 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000542/0.3828, allocations: 406.3 kB / 0.5733 GB, free: 7.672 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.3829, allocations: 79.58 kB / 0.5733 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.178e-05/0.383, allocations: 11.94 kB / 0.5733 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.3831, allocations: 11.98 kB / 0.5734 GB, free: 7.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.3832, allocations: 15.92 kB / 0.5734 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.3832, allocations: 7.984 kB / 0.5734 GB, free: 7.547 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007552/0.384, allocations: 0.6708 MB / 0.574 GB, free: 6.879 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.384, allocations: 0 / 0.574 GB, free: 6.879 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003608/0.3843, allocations: 52 kB / 0.5741 GB, free: 6.828 MB / 414.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 (16): * Single equations (assignments): 16 * 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.002396/0.3867, allocations: 1.277 MB / 0.5753 GB, free: 5.707 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003983/0.3871, allocations: 135.9 kB / 0.5755 GB, free: 5.574 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3871, allocations: 7.938 kB / 0.5755 GB, free: 5.566 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.3874, allocations: 71.89 kB / 0.5755 GB, free: 5.496 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005969/0.3879, allocations: 85.72 kB / 0.5756 GB, free: 5.418 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006571/0.3945, allocations: 5.049 MB / 0.5805 GB, free: 288 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.3948, allocations: 264.2 kB / 0.5808 GB, free: 4 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002146/0.395, allocations: 79.22 kB / 0.5809 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002588/0.3953, allocations: 171.4 kB / 0.581 GB, free: 15.76 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3953, allocations: 0 / 0.581 GB, free: 15.76 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03372/0.429, allocations: 10.37 MB / 0.5912 GB, free: 5.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.53, allocations: 9.438 kB / 0.5912 GB, free: 5.5 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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: 16.051103151985444]