Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.0008516/0.0008516, 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.0008191/0.0008191, 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.9/0.9, allocations: 177.1 MB / 204.2 MB, free: 5.738 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.2782/0.2782, allocations: 32.78 MB / 293.5 MB, free: 1.211 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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 3.938 kB / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.087e-05, allocations: 8.25 kB / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002115/0.002136, allocations: 1.591 MB / 441.2 MB, free: 2.613 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007188/0.002854, allocations: 0.5258 MB / 441.7 MB, free: 2.082 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.171e-05/0.002906, allocations: 0 / 441.7 MB, free: 2.082 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.00309, allocations: 35.72 kB / 441.8 MB, free: 2.047 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.003332, allocations: 79.61 kB / 441.8 MB, free: 1.969 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.003553, allocations: 115.6 kB / 441.9 MB, free: 1.859 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.003682, allocations: 67.78 kB / 442 MB, free: 1.793 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.849e-05/0.003781, allocations: 7.984 kB / 442 MB, free: 1.785 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.772e-05/0.003838, allocations: 31.91 kB / 442 MB, free: 1.754 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.224e-05/0.00389, allocations: 15.92 kB / 442.1 MB, free: 1.738 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.003905, allocations: 4 kB / 442.1 MB, free: 1.734 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.235e-05/0.003968, allocations: 39.92 kB / 442.1 MB, free: 1.695 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.264e-05/0.00401, allocations: 7.938 kB / 442.1 MB, free: 1.688 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.766e-05/0.004038, allocations: 15.92 kB / 442.1 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.004178, allocations: 83.66 kB / 442.2 MB, free: 1.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.00418, allocations: 0 / 442.2 MB, free: 1.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.004181, allocations: 0 / 442.2 MB, free: 1.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.004186, allocations: 3.938 kB / 442.2 MB, free: 1.586 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003903/0.004576, allocations: 309.9 kB / 442.5 MB, free: 1.254 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.004617, allocations: 8.031 kB / 442.5 MB, free: 1.246 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.114e-05/0.004649, allocations: 34.75 kB / 442.6 MB, free: 1.203 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.004677, allocations: 12.89 kB / 442.6 MB, free: 1.191 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.004826, allocations: 134.3 kB / 442.7 MB, free: 1.035 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.004835, allocations: 384 / 442.7 MB, free: 1.035 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.004855, allocations: 384 / 442.7 MB, free: 1.035 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004279/0.005283, allocations: 54.23 kB / 442.8 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.005293, allocations: 4.125 kB / 442.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.005302, allocations: 3.938 kB / 442.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.005308, allocations: 4 kB / 442.8 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.83e-05/0.005367, allocations: 19.98 kB / 442.8 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.005676, allocations: 248 kB / 443 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.005852, allocations: 50.44 kB / 443.1 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.078e-05/0.005883, allocations: 24.92 kB / 443.1 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.005904, allocations: 0 / 443.1 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.005924, allocations: 34.56 kB / 443.1 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.005924, allocations: 0 / 443.1 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003882/0.006313, allocations: 149.4 kB / 443.3 MB, free: 388 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.006341, allocations: 59.34 kB / 443.3 MB, free: 316 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.636e-05/0.006438, allocations: 152.5 kB / 443.5 MB, free: 152 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.006449, allocations: 29.7 kB / 443.5 MB, free: 116 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.832e-05/0.006487, allocations: 96.08 kB / 443.6 MB, free: 16 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.006505, allocations: 15.84 kB / 443.6 MB, free: 0 / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1814/0.1879, allocations: 17.52 kB / 443.6 MB, free: 46.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.279e-05/0.1879, allocations: 323.4 kB / 444 MB, free: 46.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.324e-05/0.188, allocations: 19.39 kB / 444 MB, free: 46.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.436e-05/0.1881, allocations: 25.36 kB / 444 MB, free: 46.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.041e-05/0.1882, allocations: 51.45 kB / 444.1 MB, free: 46.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1882, allocations: 0 / 444.1 MB, free: 46.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001328/0.1883, allocations: 87.8 kB / 444.1 MB, free: 46.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1883, allocations: 5.844 kB / 444.1 MB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1883, allocations: 0 / 444.1 MB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.1883, allocations: 5 kB / 444.2 MB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.624e-05/0.1884, allocations: 15.67 kB / 444.2 MB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1884, allocations: 3.75 kB / 444.2 MB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.656e-05/0.1884, allocations: 3.469 kB / 444.2 MB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1884, allocations: 6.484 kB / 444.2 MB, free: 46.04 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 (5): * Single equations (assignments): 5 * 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.659e-05/0.1885, allocations: 118 kB / 444.3 MB, free: 45.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.1885, allocations: 7.234 kB / 444.3 MB, free: 45.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.1887, allocations: 97.44 kB / 444.4 MB, free: 45.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.1887, allocations: 2.219 kB / 444.4 MB, free: 45.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1887, allocations: 6.781 kB / 444.4 MB, free: 45.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1887, allocations: 0.5625 kB / 444.4 MB, free: 45.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.189, allocations: 326.4 kB / 444.7 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.189, allocations: 0 / 444.7 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.168e-05/0.189, allocations: 12 kB / 444.7 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.189, allocations: 3.938 kB / 444.7 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.189, allocations: 7.25 kB / 444.8 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.189, allocations: 0 / 444.8 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.189, allocations: 0 / 444.8 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.1891, allocations: 186.2 kB / 444.9 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-06/0.1891, allocations: 5.219 kB / 444.9 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.1891, allocations: 7.625 kB / 444.9 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.369e-05/0.1892, allocations: 4.531 kB / 444.9 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.1892, allocations: 6.422 kB / 445 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1892, allocations: 3.969 kB / 445 MB, free: 45.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.428e-05/0.1892, allocations: 123.4 kB / 445.1 MB, free: 45.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1892, allocations: 0 / 445.1 MB, free: 45.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001576/0.1894, allocations: 18.95 kB / 445.1 MB, free: 45.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0007908/0.1902, allocations: 1.047 MB / 446.1 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001155/0.1903, allocations: 51.12 kB / 446.2 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1903, allocations: 2.938 kB / 446.2 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.488e-05/0.1903, allocations: 27.86 kB / 446.2 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.1906, allocations: 23.44 kB / 446.2 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007958/0.1914, allocations: 1.46 MB / 447.7 MB, free: 43.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.53e-05/0.1915, allocations: 84.8 kB / 447.8 MB, free: 43.47 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.858e-05/0.1915, allocations: 17.39 kB / 447.8 MB, free: 43.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/0.1915, allocations: 24.97 kB / 447.8 MB, free: 43.47 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1915, allocations: 0 / 447.8 MB, free: 43.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01287/0.2044, allocations: 3.28 MB / 451.1 MB, free: 42.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.597/6.801, allocations: 3.859 kB / 451.1 MB, free: 42.18 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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: 8.840136888436973]