Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.0008286/0.0008286, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008569/0.0008569, allocations: 174.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8931/0.8931, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2319/0.2319, allocations: 32.79 MB / 293.5 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.402e-05, allocations: 2.281 kB / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002393/0.002417, allocations: 1.642 MB / 441.2 MB, free: 2.574 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008649/0.003282, allocations: 0.5491 MB / 441.8 MB, free: 2.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.618e-05/0.003348, allocations: 4 kB / 441.8 MB, free: 2.016 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.003603, allocations: 91.67 kB / 441.9 MB, free: 1.926 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002791/0.003882, allocations: 119.5 kB / 442 MB, free: 1.809 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.004144, allocations: 122.3 kB / 442.1 MB, free: 1.691 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.004298, allocations: 99.73 kB / 442.2 MB, free: 1.594 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.004402, allocations: 19.98 kB / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.543e-05/0.004467, allocations: 59.81 kB / 442.3 MB, free: 1.516 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.253e-05/0.00455, allocations: 59.86 kB / 442.4 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.004568, allocations: 4 kB / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.922e-05/0.004657, allocations: 55.86 kB / 442.4 MB, free: 1.398 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.496e-05/0.004712, allocations: 31.91 kB / 442.4 MB, free: 1.367 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.004744, allocations: 19.88 kB / 442.5 MB, free: 1.348 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.004923, allocations: 131.5 kB / 442.6 MB, free: 1.219 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.004925, allocations: 0 / 442.6 MB, free: 1.219 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.004927, allocations: 0 / 442.6 MB, free: 1.219 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.004932, allocations: 0 / 442.6 MB, free: 1.219 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004011/0.005333, allocations: 361.5 kB / 442.9 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.005371, allocations: 8.031 kB / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.207e-05/0.005404, allocations: 38.75 kB / 443 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.005439, allocations: 16.84 kB / 443 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.005747, allocations: 153.5 kB / 443.2 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.005759, allocations: 8.375 kB / 443.2 MB, free: 0.582 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.005778, allocations: 4.375 kB / 443.2 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.00591, allocations: 70.22 kB / 443.2 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.005922, allocations: 8.141 kB / 443.2 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.005934, allocations: 7.938 kB / 443.3 MB, free: 500 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.005939, allocations: 3.938 kB / 443.3 MB, free: 496 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.251e-05/0.006011, allocations: 47.95 kB / 443.3 MB, free: 448 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.006345, allocations: 299.8 kB / 443.6 MB, free: 104 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.982e-05/0.006435, allocations: 66.48 kB / 443.7 MB, free: 28 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1673/0.1738, allocations: 32.94 kB / 443.7 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.239e-05/0.1738, allocations: 0.8594 kB / 443.7 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.1738, allocations: 30.56 kB / 443.7 MB, free: 46.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.923e-06/0.1738, allocations: 0 / 443.7 MB, free: 46.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007712/0.1746, allocations: 330.6 kB / 444.1 MB, free: 46.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.1746, allocations: 58.47 kB / 444.1 MB, free: 46.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.1748, allocations: 238.9 kB / 444.3 MB, free: 46.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.375e-06/0.1748, allocations: 30.2 kB / 444.4 MB, free: 46.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.1748, allocations: 114.4 kB / 444.5 MB, free: 46.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.1748, allocations: 44.02 kB / 444.5 MB, free: 46.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.1749, allocations: 30.7 kB / 444.6 MB, free: 46.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.135e-05/0.1749, allocations: 331 kB / 444.9 MB, free: 45.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.927e-05/0.1749, allocations: 43.38 kB / 444.9 MB, free: 45.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.982e-05/0.175, allocations: 49.11 kB / 445 MB, free: 45.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.1751, allocations: 115 kB / 445.1 MB, free: 45.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1751, allocations: 0 / 445.1 MB, free: 45.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00014/0.1753, allocations: 151.9 kB / 445.2 MB, free: 45.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1753, allocations: 5.219 kB / 445.2 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1753, allocations: 7.328 kB / 445.2 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1753, allocations: 0 / 445.2 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.233e-05/0.1754, allocations: 23.45 kB / 445.3 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.1754, allocations: 2.688 kB / 445.3 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.87e-05/0.1754, allocations: 11.67 kB / 445.3 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.1754, allocations: 6.781 kB / 445.3 MB, free: 45.73 MB / 410.7 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 5.51e-05/0.1755, allocations: 142.1 kB / 445.4 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.1755, allocations: 13.81 kB / 445.4 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.1757, allocations: 185.7 kB / 445.6 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1757, allocations: 6.469 kB / 445.6 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1757, allocations: 1.531 kB / 445.6 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1757, allocations: 0 / 445.6 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003507/0.176, allocations: 466.2 kB / 446.1 MB, free: 45.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.176, allocations: 0 / 446.1 MB, free: 45.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.1761, allocations: 31.14 kB / 446.1 MB, free: 45.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.1761, allocations: 7.172 kB / 446.1 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.1761, allocations: 2.844 kB / 446.1 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1761, allocations: 0 / 446.1 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1761, allocations: 3 kB / 446.1 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.1762, allocations: 254.3 kB / 446.4 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.059e-05/0.1763, allocations: 17.52 kB / 446.4 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.1763, allocations: 6.906 kB / 446.4 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.759e-05/0.1763, allocations: 8.359 kB / 446.4 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.1763, allocations: 13.53 kB / 446.4 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.1763, allocations: 8.625 kB / 446.4 MB, free: 45.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.981e-05/0.1764, allocations: 183.8 kB / 446.6 MB, free: 44.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1764, allocations: 0 / 446.6 MB, free: 44.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001686/0.1766, allocations: 28.81 kB / 446.6 MB, free: 44.91 MB / 410.7 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.0009172/0.1775, allocations: 1.17 MB / 447.8 MB, free: 44.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.1777, allocations: 115.7 kB / 447.9 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.1777, allocations: 0 / 447.9 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.591e-05/0.1777, allocations: 59.8 kB / 448 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.178, allocations: 22.58 kB / 448 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.1791, allocations: 1.928 MB / 449.9 MB, free: 42.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.733e-05/0.1792, allocations: 114.8 kB / 450 MB, free: 42.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.772e-05/0.1792, allocations: 30.25 kB / 450.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.935e-05/0.1793, allocations: 47.44 kB / 450.1 MB, free: 42.56 MB / 410.7 MB Notification: Performance of SimCode: time 6.62e-07/0.1793, allocations: 0 / 450.1 MB, free: 42.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01613/0.1954, allocations: 4.317 MB / 454.4 MB, free: 41.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.711/6.907, allocations: 6.703 kB / 454.4 MB, free: 41.16 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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: 8.890126793645322]