Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001326/0.001326, 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.001765/0.001765, allocations: 209.2 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.449/1.449, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2246/0.2246, allocations: 46.96 MB / 360.9 MB, free: 4.047 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.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 67.89 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3474, allocations: 66.03 MB / 0.5606 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003662/0.351, allocations: 1.671 MB / 0.5622 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.3521, allocations: 0.5349 MB / 0.5628 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/0.3522, allocations: 3.938 kB / 0.5628 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000621/0.3528, allocations: 455.1 kB / 0.5632 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005473/0.3533, allocations: 299.3 kB / 0.5635 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.3537, allocations: 135.2 kB / 0.5636 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.354, allocations: 171.6 kB / 0.5638 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.3541, allocations: 13.83 kB / 0.5638 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.3542, allocations: 111.8 kB / 0.5639 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.3545, allocations: 251.5 kB / 0.5641 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.3545, allocations: 4 kB / 0.5642 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.3546, allocations: 47.98 kB / 0.5642 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.3548, allocations: 91.61 kB / 0.5643 GB, free: 476 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.759e-05/0.3549, allocations: 71.23 kB / 0.5644 GB, free: 404 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.3552, allocations: 286.5 kB / 0.5646 GB, free: 116 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3552, allocations: 0 / 0.5646 GB, free: 116 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3552, allocations: 0 / 0.5646 GB, free: 116 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.3552, allocations: 4 kB / 0.5646 GB, free: 112 kB / 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.0008217/0.3561, allocations: 0.5894 MB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.3561, allocations: 12.03 kB / 0.5652 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.267e-05/0.3562, allocations: 38.73 kB / 0.5653 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.3562, allocations: 44.66 kB / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.3566, allocations: 250.7 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.3566, allocations: 384 / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.3566, allocations: 12.31 kB / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.3568, allocations: 61.61 kB / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3568, allocations: 0 / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.3568, allocations: 4 kB / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3568, allocations: 0 / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.3569, allocations: 31.92 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005517/0.3575, allocations: 359.8 kB / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.3576, allocations: 46.59 kB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.607e-05/0.3577, allocations: 20.94 kB / 0.566 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.3577, allocations: 0 / 0.566 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.3577, allocations: 30.56 kB / 0.5661 GB, free: 14.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3577, allocations: 0 / 0.5661 GB, free: 14.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009912/0.3587, allocations: 316.5 kB / 0.5664 GB, free: 14.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.3588, allocations: 59.34 kB / 0.5664 GB, free: 14.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009069/0.3597, allocations: 0.8776 MB / 0.5673 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.3597, allocations: 29.7 kB / 0.5673 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.3599, allocations: 224.1 kB / 0.5675 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.3599, allocations: 31.73 kB / 0.5676 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.36, allocations: 21.72 kB / 0.5676 GB, free: 12.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.3601, allocations: 362.8 kB / 0.5679 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.292e-05/0.3602, allocations: 27.92 kB / 0.568 GB, free: 12.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.921e-05/0.3603, allocations: 19.98 kB / 0.568 GB, free: 12.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.3604, allocations: 60.83 kB / 0.568 GB, free: 12.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3604, allocations: 4 kB / 0.568 GB, free: 12.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002596/0.3607, allocations: 137.8 kB / 0.5682 GB, free: 12.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3607, allocations: 7.984 kB / 0.5682 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3607, allocations: 0 / 0.5682 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3607, allocations: 0 / 0.5682 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.3608, allocations: 23.88 kB / 0.5682 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.3608, allocations: 4.297 kB / 0.5682 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.504e-05/0.3609, allocations: 8 kB / 0.5682 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.3609, allocations: 4 kB / 0.5682 GB, free: 12.23 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 (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.000209/0.3611, allocations: 217.8 kB / 0.5684 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-05/0.3612, allocations: 51.66 kB / 0.5685 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003331/0.3615, allocations: 157.5 kB / 0.5686 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.3615, allocations: 11.88 kB / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3615, allocations: 0 / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3615, allocations: 0 / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006641/0.3622, allocations: 482.2 kB / 0.5691 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3622, allocations: 0 / 0.5691 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.231e-05/0.3623, allocations: 19.98 kB / 0.5691 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.3623, allocations: 0 / 0.5691 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.3623, allocations: 4 kB / 0.5691 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3623, allocations: 4 kB / 0.5691 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3623, allocations: 0 / 0.5691 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.3626, allocations: 243.9 kB / 0.5694 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.596e-05/0.3627, allocations: 43.7 kB / 0.5694 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.3627, allocations: 4.031 kB / 0.5694 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.196e-05/0.3628, allocations: 4 kB / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.3628, allocations: 7.984 kB / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.3628, allocations: 0 / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000665/0.3635, allocations: 0.6628 MB / 0.5701 GB, free: 10.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3635, allocations: 0 / 0.5701 GB, free: 10.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.3638, allocations: 27.94 kB / 0.5701 GB, free: 10.22 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 (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.002333/0.3661, allocations: 1.174 MB / 0.5712 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.3663, allocations: 63.94 kB / 0.5713 GB, free: 9.168 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3663, allocations: 0 / 0.5713 GB, free: 9.168 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.525e-05/0.3664, allocations: 43.98 kB / 0.5713 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.3668, allocations: 31.08 kB / 0.5714 GB, free: 9.105 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003968/0.3708, allocations: 3.329 MB / 0.5746 GB, free: 5.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.371, allocations: 220.1 kB / 0.5748 GB, free: 5.445 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.308e-05/0.3711, allocations: 20.36 kB / 0.5748 GB, free: 5.426 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.3712, allocations: 111.4 kB / 0.5749 GB, free: 5.316 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3712, allocations: 0 / 0.5749 GB, free: 5.316 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03368/0.4049, allocations: 6.908 MB / 0.5817 GB, free: 14.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.51, allocations: 10.59 kB / 0.5817 GB, free: 14.45 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.54677600087598]