Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.0009904/0.0009904, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001694/0.001694, allocations: 170 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.9502/0.9502, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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.2546/0.2546, allocations: 34.24 MB / 294.9 MB, free: 0.7148 MB / 266.7 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.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 442.1 MB, free: 1.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.845e-05, allocations: 2.281 kB / 442.1 MB, free: 1.676 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.1873/0.1873, allocations: 1.709 MB / 443.8 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002487/0.1876, allocations: 83.47 kB / 443.9 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.564e-05/0.1876, allocations: 3.5 kB / 443.9 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.651e-05/0.1877, allocations: 13.12 kB / 443.9 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.654e-05/0.1877, allocations: 22.53 kB / 444 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.939e-05/0.1878, allocations: 31.44 kB / 444 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.1879, allocations: 115.5 kB / 444.1 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.1881, allocations: 35.53 kB / 444.1 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.204e-05/0.1882, allocations: 66.78 kB / 444.2 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.554e-05/0.1882, allocations: 34.48 kB / 444.2 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.1882, allocations: 12.31 kB / 444.3 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.1882, allocations: 14.78 kB / 444.3 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.1883, allocations: 18.5 kB / 444.3 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.175e-05/0.1883, allocations: 37.69 kB / 444.3 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.1884, allocations: 117.3 kB / 444.4 MB, free: 43.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1884, allocations: 6.328 kB / 444.4 MB, free: 43.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1884, allocations: 0 / 444.4 MB, free: 43.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1884, allocations: 0.8438 kB / 444.4 MB, free: 43.26 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0003836/0.1888, allocations: 350.1 kB / 444.8 MB, free: 42.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1888, allocations: 12.31 kB / 444.8 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.554e-05/0.1889, allocations: 41.08 kB / 444.8 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.239e-05/0.1889, allocations: 10.83 kB / 444.9 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.001e-05/0.189, allocations: 123.2 kB / 445 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.189, allocations: 3.031 kB / 445 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.189, allocations: 12.53 kB / 445 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.1892, allocations: 128.1 kB / 445.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1892, allocations: 2.25 kB / 445.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1892, allocations: 1.688 kB / 445.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1892, allocations: 6.719 kB / 445.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.1893, allocations: 110.5 kB / 445.2 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004931/0.1898, allocations: 421.6 kB / 445.6 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.19, allocations: 74.48 kB / 445.7 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.1901, allocations: 62.17 kB / 445.8 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.1901, allocations: 0.75 kB / 445.8 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.1902, allocations: 33.28 kB / 445.8 MB, free: 42.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.1902, allocations: 4 kB / 445.8 MB, free: 42.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005004/0.1907, allocations: 193.5 kB / 446 MB, free: 42.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.1907, allocations: 54.06 kB / 446.1 MB, free: 42.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.507e-05/0.1908, allocations: 126 kB / 446.2 MB, free: 42.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.1908, allocations: 25.7 kB / 446.2 MB, free: 42.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.1908, allocations: 111.7 kB / 446.3 MB, free: 42.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.117e-05/0.1908, allocations: 22.61 kB / 446.3 MB, free: 42.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.1909, allocations: 19.42 kB / 446.4 MB, free: 42.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.893e-05/0.1909, allocations: 316 kB / 446.7 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.285e-05/0.191, allocations: 39.34 kB / 446.7 MB, free: 41.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.589e-05/0.191, allocations: 67.2 kB / 446.8 MB, free: 41.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.1912, allocations: 90.97 kB / 446.9 MB, free: 41.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1912, allocations: 0 / 446.9 MB, free: 41.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001873/0.1914, allocations: 153.2 kB / 447 MB, free: 41.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.1914, allocations: 5.844 kB / 447 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1914, allocations: 0 / 447 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000106/0.1915, allocations: 23.06 kB / 447 MB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.339e-05/0.1916, allocations: 22.27 kB / 447.1 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004463/0.192, allocations: 1.299 MB / 448.4 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.257e-05/0.192, allocations: 23.91 kB / 448.4 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.1921, allocations: 2.812 kB / 448.4 MB, free: 40.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.769e-05/0.1921, allocations: 112.3 kB / 448.5 MB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.1921, allocations: 6.797 kB / 448.5 MB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.857e-06/0.1921, allocations: 18.53 kB / 448.5 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-07/0.1921, allocations: 0 / 448.5 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.1921, allocations: 2.938 kB / 448.5 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1921, allocations: 0 / 448.5 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.1924, allocations: 389.8 kB / 448.9 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1924, allocations: 3.188 kB / 448.9 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.1925, allocations: 22.3 kB / 448.9 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.416e-05/0.1925, allocations: 20.72 kB / 448.9 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1925, allocations: 3.812 kB / 448.9 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003455/0.1929, allocations: 1.302 MB / 450.2 MB, free: 38.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1929, allocations: 0 / 450.2 MB, free: 38.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.193, allocations: 234.8 kB / 450.5 MB, free: 38.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-06/0.193, allocations: 10.06 kB / 450.5 MB, free: 38.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.57e-06/0.1931, allocations: 4 kB / 450.5 MB, free: 38.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.185e-05/0.1931, allocations: 15.7 kB / 450.5 MB, free: 38.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.1931, allocations: 13.47 kB / 450.5 MB, free: 38.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.1931, allocations: 2.781 kB / 450.5 MB, free: 38.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.193e-05/0.1932, allocations: 95.45 kB / 450.6 MB, free: 38.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1932, allocations: 1.781 kB / 450.6 MB, free: 38.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001565/0.1933, allocations: 20.06 kB / 450.6 MB, free: 38.36 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 (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002902/0.1936, allocations: 0.7775 MB / 451.4 MB, free: 37.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.1939, allocations: 191.2 kB / 451.6 MB, free: 37.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.1939, allocations: 0 / 451.6 MB, free: 37.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.535e-05/0.194, allocations: 170.8 kB / 451.8 MB, free: 37.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.1942, allocations: 10.88 kB / 451.8 MB, free: 37.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009569/0.1952, allocations: 1.605 MB / 453.4 MB, free: 36.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.137e-05/0.1952, allocations: 83.11 kB / 453.5 MB, free: 35.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.406e-05/0.1952, allocations: 4 kB / 453.5 MB, free: 35.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.1953, allocations: 26.52 kB / 453.5 MB, free: 35.94 MB / 410.7 MB Notification: Performance of SimCode: time 6.82e-07/0.1953, allocations: 0 / 453.5 MB, free: 35.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0155/0.2108, allocations: 3.083 MB / 456.6 MB, free: 34.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.762/6.973, allocations: 17.28 kB / 456.6 MB, free: 34.93 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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: 9.005329684354365]