Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007389/0.0007389, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007974/0.0007974, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8863/0.8863, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2619/0.2619, allocations: 34.24 MB / 294.8 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 442.1 MB, free: 1.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.219e-05, allocations: 9.094 kB / 442.1 MB, free: 1.582 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.1876/0.1876, allocations: 3.248 MB / 445.4 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.1887, allocations: 0.7984 MB / 446.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.1888, allocations: 12.31 kB / 446.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.189, allocations: 75.42 kB / 446.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.1891, allocations: 140.9 kB / 446.4 MB, free: 42.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.1894, allocations: 129.2 kB / 446.5 MB, free: 42.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003906/0.1898, allocations: 0.5377 MB / 447.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002715/0.1901, allocations: 166 kB / 447.2 MB, free: 41.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.1904, allocations: 322.7 kB / 447.6 MB, free: 41.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.1906, allocations: 166.4 kB / 447.7 MB, free: 41.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.587e-05/0.1906, allocations: 47.59 kB / 447.8 MB, free: 41.65 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.728e-05/0.1907, allocations: 49.06 kB / 447.8 MB, free: 41.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.569e-05/0.1907, allocations: 112.6 kB / 447.9 MB, free: 41.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.1909, allocations: 181.1 kB / 448.1 MB, free: 41.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004271/0.1913, allocations: 0.5671 MB / 448.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1913, allocations: 0 / 448.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1913, allocations: 0 / 448.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1913, allocations: 3.281 kB / 448.7 MB, free: 41.27 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.00078/0.1921, allocations: 0.6882 MB / 449.4 MB, free: 40.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1921, allocations: 11.69 kB / 449.4 MB, free: 40.79 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.313e-05/0.1922, allocations: 86.02 kB / 449.5 MB, free: 40.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.1922, allocations: 53.86 kB / 449.5 MB, free: 40.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.1926, allocations: 263.7 kB / 449.8 MB, free: 40.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.1926, allocations: 34.78 kB / 449.8 MB, free: 40.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.139e-05/0.1927, allocations: 47.19 kB / 449.8 MB, free: 40.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004863/0.1931, allocations: 0.5075 MB / 450.4 MB, free: 40.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1932, allocations: 3.031 kB / 450.4 MB, free: 40.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.1932, allocations: 18.97 kB / 450.4 MB, free: 40.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.1932, allocations: 11.31 kB / 450.4 MB, free: 40.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003854/0.1936, allocations: 333.4 kB / 450.7 MB, free: 40.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.1949, allocations: 1.51 MB / 452.2 MB, free: 38.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/0.1952, allocations: 226 kB / 452.4 MB, free: 38.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.1953, allocations: 125.7 kB / 452.6 MB, free: 38.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.1954, allocations: 2.906 kB / 452.6 MB, free: 38.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.1954, allocations: 45.28 kB / 452.6 MB, free: 38.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.283e-06/0.1954, allocations: 224 / 452.6 MB, free: 38.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001544/0.1969, allocations: 1.116 MB / 453.7 MB, free: 38.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/0.1969, allocations: 82.97 kB / 453.8 MB, free: 38.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.1971, allocations: 270 kB / 454.1 MB, free: 37.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.1971, allocations: 29.7 kB / 454.1 MB, free: 37.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.592e-05/0.1972, allocations: 266.2 kB / 454.4 MB, free: 37.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.1972, allocations: 123 kB / 454.5 MB, free: 37.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.416e-05/0.1973, allocations: 76.59 kB / 454.6 MB, free: 37.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.26e-05/0.1973, allocations: 346 kB / 454.9 MB, free: 37.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.1975, allocations: 108.2 kB / 455 MB, free: 37.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.1976, allocations: 209.8 kB / 455.2 MB, free: 36.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.1979, allocations: 336.5 kB / 455.5 MB, free: 36.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1979, allocations: 2.625 kB / 455.5 MB, free: 36.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004261/0.1983, allocations: 424.9 kB / 455.9 MB, free: 36.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1984, allocations: 9 kB / 456 MB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1984, allocations: 2.906 kB / 456 MB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001168/0.1985, allocations: 40.17 kB / 456 MB, free: 36.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.1987, allocations: 124.7 kB / 456.1 MB, free: 36.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004908/0.1992, allocations: 1.324 MB / 457.4 MB, free: 35.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.1993, allocations: 18.56 kB / 457.5 MB, free: 35.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.1994, allocations: 22.28 kB / 457.5 MB, free: 35.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * 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 9.827e-05/0.1995, allocations: 169.1 kB / 457.7 MB, free: 35.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.1995, allocations: 35.58 kB / 457.7 MB, free: 35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.701e-05/0.1995, allocations: 38.56 kB / 457.7 MB, free: 34.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1995, allocations: 5.188 kB / 457.7 MB, free: 34.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.1995, allocations: 1.781 kB / 457.7 MB, free: 34.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1995, allocations: 5.922 kB / 457.7 MB, free: 34.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005606/0.2001, allocations: 0.6454 MB / 458.4 MB, free: 34.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2001, allocations: 0 / 458.4 MB, free: 34.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.2003, allocations: 91.36 kB / 458.5 MB, free: 34.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.752e-05/0.2004, allocations: 23.92 kB / 458.5 MB, free: 34.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.2004, allocations: 10.97 kB / 458.5 MB, free: 34.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003659/0.2007, allocations: 1.332 MB / 459.8 MB, free: 33.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2007, allocations: 2.719 kB / 459.8 MB, free: 33.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004834/0.2012, allocations: 0.6011 MB / 460.4 MB, free: 32.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.616e-05/0.2013, allocations: 46.72 kB / 460.5 MB, free: 32.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.2013, allocations: 14.61 kB / 460.5 MB, free: 32.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.2014, allocations: 16.58 kB / 460.5 MB, free: 32.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.2015, allocations: 34.22 kB / 460.5 MB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.2015, allocations: 6.438 kB / 460.6 MB, free: 32.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.463e-05/0.2016, allocations: 186.7 kB / 460.7 MB, free: 32.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2016, allocations: 0 / 460.7 MB, free: 32.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002658/0.2018, allocations: 94.25 kB / 460.8 MB, free: 32.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * 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.0006435/0.2025, allocations: 1.144 MB / 462 MB, free: 31.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004513/0.2029, allocations: 395.5 kB / 462.4 MB, free: 31.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2029, allocations: 0 / 462.4 MB, free: 31.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.2031, allocations: 250 kB / 462.6 MB, free: 31.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.2034, allocations: 43.45 kB / 462.6 MB, free: 31.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.206, allocations: 3.408 MB / 466.1 MB, free: 29.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.2061, allocations: 214.3 kB / 466.3 MB, free: 28.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.2062, allocations: 38.41 kB / 466.3 MB, free: 28.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.2064, allocations: 137.1 kB / 466.4 MB, free: 28.82 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2064, allocations: 0 / 466.4 MB, free: 28.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.2268, allocations: 7.351 MB / 473.8 MB, free: 27.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.13/7.357, allocations: 6.859 kB / 473.8 MB, free: 27.32 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --stepSize=0.00300043 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.37244610209018]