Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001435/0.001435, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.001868/0.001868, allocations: 196.5 kB / 23.72 MB, free: 4.492 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.548/1.548, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.2631/0.2631, allocations: 44.94 MB / 358.8 MB, free: 6.035 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",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.003301/0.003301, allocations: 67.91 kB / 0.4931 GB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4306, allocations: 65.47 MB / 0.557 GB, free: 7.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003518/0.4342, allocations: 1.633 MB / 0.5586 GB, free: 5.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.4354, allocations: 0.5388 MB / 0.5591 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.281e-05/0.4355, allocations: 0 / 0.5591 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.4358, allocations: 99.67 kB / 0.5592 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.4361, allocations: 107.6 kB / 0.5593 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.4364, allocations: 103.7 kB / 0.5594 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.4366, allocations: 95.75 kB / 0.5595 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.4367, allocations: 21.8 kB / 0.5595 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.456e-05/0.4367, allocations: 43.84 kB / 0.5596 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.4368, allocations: 67.73 kB / 0.5596 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.4369, allocations: 4 kB / 0.5596 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.437, allocations: 51.92 kB / 0.5597 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.569e-05/0.437, allocations: 23.91 kB / 0.5597 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.4371, allocations: 31.75 kB / 0.5597 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.4373, allocations: 123.4 kB / 0.5598 GB, free: 4.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4373, allocations: 8 kB / 0.5599 GB, free: 4.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4373, allocations: 0 / 0.5599 GB, free: 4.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.4373, allocations: 0 / 0.5599 GB, free: 4.543 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005056/0.4378, allocations: 361.5 kB / 0.5602 GB, free: 4.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.4378, allocations: 15.95 kB / 0.5602 GB, free: 4.145 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.469e-05/0.4379, allocations: 34.75 kB / 0.5603 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.4379, allocations: 16.84 kB / 0.5603 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.4381, allocations: 154.2 kB / 0.5604 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.4382, allocations: 4.375 kB / 0.5604 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.4382, allocations: 4.375 kB / 0.5604 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.4384, allocations: 77.55 kB / 0.5605 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.4384, allocations: 3.953 kB / 0.5605 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.4384, allocations: 4 kB / 0.5605 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.4384, allocations: 3.938 kB / 0.5605 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.4385, allocations: 39.95 kB / 0.5605 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.4389, allocations: 287.8 kB / 0.5608 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.4391, allocations: 70.48 kB / 0.5609 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.792e-05/0.4391, allocations: 20.84 kB / 0.5609 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.4392, allocations: 8 kB / 0.5609 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.4392, allocations: 34.56 kB / 0.5609 GB, free: 3.293 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.4392, allocations: 0 / 0.5609 GB, free: 3.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001046/0.4402, allocations: 309.7 kB / 0.5612 GB, free: 2.984 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.4403, allocations: 59.39 kB / 0.5613 GB, free: 2.914 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.4406, allocations: 239.5 kB / 0.5615 GB, free: 2.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.4406, allocations: 29.64 kB / 0.5616 GB, free: 2.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.927e-05/0.4407, allocations: 120 kB / 0.5617 GB, free: 2.504 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.4407, allocations: 39.64 kB / 0.5617 GB, free: 2.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.4407, allocations: 29.72 kB / 0.5617 GB, free: 2.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.4409, allocations: 330.8 kB / 0.5621 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.839e-05/0.441, allocations: 35.98 kB / 0.5621 GB, free: 2.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.871e-05/0.4411, allocations: 39.47 kB / 0.5621 GB, free: 2.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.4413, allocations: 88.83 kB / 0.5622 GB, free: 1.938 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4413, allocations: 0 / 0.5622 GB, free: 1.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002745/0.4416, allocations: 141.6 kB / 0.5623 GB, free: 1.793 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.4416, allocations: 6.812 kB / 0.5624 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4416, allocations: 0 / 0.5624 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4416, allocations: 3.938 kB / 0.5624 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.4417, allocations: 35.91 kB / 0.5624 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.4417, allocations: 0 / 0.5624 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.244e-05/0.4418, allocations: 15.98 kB / 0.5624 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.4418, allocations: 8 kB / 0.5624 GB, free: 1.727 MB / 398.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 (13): * Single equations (assignments): 13 * 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.0001352/0.4419, allocations: 130.4 kB / 0.5625 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.442, allocations: 15.91 kB / 0.5626 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003601/0.4423, allocations: 163 kB / 0.5627 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.4423, allocations: 0 / 0.5627 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4423, allocations: 0 / 0.5627 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.4423, allocations: 0 / 0.5627 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006598/0.443, allocations: 446.1 kB / 0.5631 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.443, allocations: 0 / 0.5631 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.85e-05/0.4431, allocations: 27.92 kB / 0.5632 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.4431, allocations: 4 kB / 0.5632 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.4431, allocations: 4 kB / 0.5632 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4431, allocations: 0 / 0.5632 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.4431, allocations: 4 kB / 0.5632 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.4434, allocations: 252 kB / 0.5634 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.4435, allocations: 11.91 kB / 0.5634 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.4435, allocations: 0 / 0.5634 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.201e-05/0.4436, allocations: 11.98 kB / 0.5634 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.4436, allocations: 7.984 kB / 0.5634 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.4436, allocations: 4 kB / 0.5634 GB, free: 0.582 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001706/0.4438, allocations: 181.2 kB / 0.5636 GB, free: 416 kB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4438, allocations: 0 / 0.5636 GB, free: 416 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.444, allocations: 27.94 kB / 0.5636 GB, free: 388 kB / 398.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 (13): * Single equations (assignments): 13 * 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.002422/0.4465, allocations: 1.169 MB / 0.5648 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002881/0.4468, allocations: 83.89 kB / 0.5649 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4468, allocations: 4 kB / 0.5649 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.4469, allocations: 55.91 kB / 0.5649 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.4472, allocations: 19.75 kB / 0.5649 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.4496, allocations: 1.853 MB / 0.5668 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.4497, allocations: 109 kB / 0.5669 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.291e-05/0.4498, allocations: 24.47 kB / 0.5669 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.805e-05/0.4498, allocations: 39.42 kB / 0.5669 GB, free: 13.11 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4498, allocations: 0 / 0.5669 GB, free: 13.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/0.4801, allocations: 4.085 MB / 0.5709 GB, free: 9.074 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12, allocations: 10.17 kB / 0.5709 GB, free: 9.066 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.192141863983124]