Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001387/0.001387, allocations: 107.1 kB / 20.44 MB, free: 1.355 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.001478/0.001478, allocations: 212.7 kB / 23.73 MB, free: 4.531 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.416/1.416, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.263/0.263, allocations: 46.97 MB / 360.9 MB, free: 4.156 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.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 59.91 kB / 0.4961 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3422, allocations: 66.04 MB / 0.5606 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003147/0.3453, allocations: 1.66 MB / 0.5622 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.3463, allocations: 0.5465 MB / 0.5628 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.141e-05/0.3464, allocations: 0 / 0.5628 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005559/0.347, allocations: 447.2 kB / 0.5632 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000476/0.3474, allocations: 299.3 kB / 0.5635 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.3478, allocations: 131.1 kB / 0.5636 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000239/0.348, allocations: 175.6 kB / 0.5638 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.913e-05/0.3481, allocations: 17.81 kB / 0.5638 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.3482, allocations: 111.7 kB / 0.5639 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002879/0.3485, allocations: 259.5 kB / 0.5641 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.3485, allocations: 4 kB / 0.5641 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.3486, allocations: 47.98 kB / 0.5642 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.3488, allocations: 87.67 kB / 0.5643 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.113e-05/0.3488, allocations: 71.19 kB / 0.5643 GB, free: 452 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.3492, allocations: 286.5 kB / 0.5646 GB, free: 164 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3492, allocations: 0 / 0.5646 GB, free: 164 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3492, allocations: 0 / 0.5646 GB, free: 164 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3492, allocations: 4 kB / 0.5646 GB, free: 160 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.0008113/0.35, allocations: 0.5969 MB / 0.5652 GB, free: 15.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3501, allocations: 8.031 kB / 0.5652 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.3501, allocations: 38.75 kB / 0.5652 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.483e-05/0.3502, allocations: 48.66 kB / 0.5653 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.3504, allocations: 246.8 kB / 0.5655 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.3505, allocations: 384 / 0.5655 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.3505, allocations: 8.375 kB / 0.5655 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.3506, allocations: 61.55 kB / 0.5656 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3506, allocations: 4 kB / 0.5656 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.3507, allocations: 4 kB / 0.5656 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.3507, allocations: 0 / 0.5656 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.3508, allocations: 35.91 kB / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.3513, allocations: 363.7 kB / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.3514, allocations: 42.56 kB / 0.566 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.3514, allocations: 16.86 kB / 0.566 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.3515, allocations: 4.078 kB / 0.566 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.3515, allocations: 30.56 kB / 0.5661 GB, free: 14.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3515, allocations: 4 kB / 0.5661 GB, free: 14.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009397/0.3524, allocations: 316.6 kB / 0.5664 GB, free: 14.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.3525, allocations: 63.28 kB / 0.5664 GB, free: 14.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009052/0.3534, allocations: 0.8699 MB / 0.5673 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.3534, allocations: 29.7 kB / 0.5673 GB, free: 13.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.3536, allocations: 228.1 kB / 0.5675 GB, free: 12.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.3536, allocations: 27.75 kB / 0.5676 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.3537, allocations: 25.7 kB / 0.5676 GB, free: 12.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3538, allocations: 358.8 kB / 0.5679 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.779e-05/0.3539, allocations: 23.98 kB / 0.568 GB, free: 12.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.038e-05/0.354, allocations: 23.97 kB / 0.568 GB, free: 12.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.3541, allocations: 61.06 kB / 0.568 GB, free: 12.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3541, allocations: 0 / 0.568 GB, free: 12.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002527/0.3544, allocations: 149.3 kB / 0.5682 GB, free: 12.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3544, allocations: 6.656 kB / 0.5682 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3544, allocations: 0 / 0.5682 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3544, allocations: 3.938 kB / 0.5682 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.3545, allocations: 23.92 kB / 0.5682 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3545, allocations: 0 / 0.5682 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.757e-05/0.3546, allocations: 11.98 kB / 0.5682 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.3546, allocations: 4 kB / 0.5682 GB, free: 12.27 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.0002062/0.3548, allocations: 213.8 kB / 0.5684 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.799e-05/0.3549, allocations: 47.67 kB / 0.5685 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003427/0.3552, allocations: 153.5 kB / 0.5686 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.3552, allocations: 11.92 kB / 0.5686 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3553, allocations: 0 / 0.5686 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3553, allocations: 0 / 0.5686 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006981/0.356, allocations: 482.3 kB / 0.5691 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.356, allocations: 0 / 0.5691 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.184e-05/0.356, allocations: 16 kB / 0.5691 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.356, allocations: 0 / 0.5691 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.356, allocations: 7.984 kB / 0.5691 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.356, allocations: 4 kB / 0.5691 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.356, allocations: 0 / 0.5691 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/0.3564, allocations: 243.9 kB / 0.5693 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.521e-05/0.3564, allocations: 39.66 kB / 0.5694 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.3565, allocations: 8.031 kB / 0.5694 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.61e-05/0.3566, allocations: 7.984 kB / 0.5694 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.3566, allocations: 4 kB / 0.5694 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.3566, allocations: 0 / 0.5694 GB, free: 10.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007132/0.3573, allocations: 0.6589 MB / 0.5701 GB, free: 10.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3573, allocations: 4 kB / 0.5701 GB, free: 10.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002904/0.3576, allocations: 31.92 kB / 0.5701 GB, free: 10.26 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.002493/0.3601, allocations: 1.178 MB / 0.5712 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.3603, allocations: 55.97 kB / 0.5713 GB, free: 9.219 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3603, allocations: 0 / 0.5713 GB, free: 9.219 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.822e-05/0.3604, allocations: 43.91 kB / 0.5713 GB, free: 9.176 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.3609, allocations: 25.31 kB / 0.5714 GB, free: 9.156 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004298/0.3652, allocations: 3.333 MB / 0.5746 GB, free: 5.723 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.3654, allocations: 224.1 kB / 0.5748 GB, free: 5.488 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.762e-05/0.3655, allocations: 16.73 kB / 0.5748 GB, free: 5.473 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.3657, allocations: 111.4 kB / 0.5749 GB, free: 5.363 MB / 414.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3657, allocations: 112 / 0.5749 GB, free: 5.363 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0336/0.3993, allocations: 6.937 MB / 0.5817 GB, free: 14.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.44, allocations: 18.27 kB / 0.5817 GB, free: 14.45 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.399752355006058]