Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.0008518/0.0008518, 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.0009225/0.0009225, allocations: 174 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.8951/0.8951, 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.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.2711/0.2711, allocations: 32.79 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.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.39e-05, allocations: 3.406 kB / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003729/0.003753, allocations: 3.238 MB / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.005484, allocations: 0.8021 MB / 443.6 MB, free: 180 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003362/0.00582, allocations: 8 kB / 443.6 MB, free: 172 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.006033, allocations: 75.23 kB / 443.7 MB, free: 96 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.184/0.19, allocations: 136.1 kB / 443.8 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000528/0.1905, allocations: 132.1 kB / 444 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005748/0.1911, allocations: 0.536 MB / 444.5 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002579/0.1914, allocations: 170.5 kB / 444.7 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003191/0.1917, allocations: 315.5 kB / 445 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.1919, allocations: 172.1 kB / 445.1 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.521e-05/0.192, allocations: 50.09 kB / 445.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.734e-05/0.1921, allocations: 49.62 kB / 445.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.033e-05/0.1921, allocations: 109.3 kB / 445.3 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.1923, allocations: 172 kB / 445.5 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005392/0.1928, allocations: 0.5695 MB / 446.1 MB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1928, allocations: 0 / 446.1 MB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1928, allocations: 1.812 kB / 446.1 MB, free: 43.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.1928, allocations: 0 / 446.1 MB, free: 43.13 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.001126/0.1939, allocations: 0.6991 MB / 446.8 MB, free: 42.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.194, allocations: 10.97 kB / 446.8 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.657e-05/0.1941, allocations: 84.83 kB / 446.9 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.912e-05/0.1942, allocations: 58.81 kB / 446.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005445/0.1947, allocations: 258.1 kB / 447.2 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.1947, allocations: 36.09 kB / 447.2 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.013e-05/0.1948, allocations: 49.34 kB / 447.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006453/0.1955, allocations: 0.5083 MB / 447.8 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.1955, allocations: 192 / 447.8 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/0.1955, allocations: 15.31 kB / 447.8 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.1955, allocations: 15.16 kB / 447.8 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004521/0.196, allocations: 326.7 kB / 448.1 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.1975, allocations: 1.519 MB / 449.6 MB, free: 41.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.1979, allocations: 227.6 kB / 449.9 MB, free: 40.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.1981, allocations: 123.2 kB / 450 MB, free: 40.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.1981, allocations: 8.719 kB / 450 MB, free: 40.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.1981, allocations: 41.16 kB / 450 MB, free: 40.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.883e-06/0.1981, allocations: 0 / 450 MB, free: 40.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.00211/0.2002, allocations: 1.128 MB / 451.2 MB, free: 40.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.2003, allocations: 80.02 kB / 451.2 MB, free: 40.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.2005, allocations: 267.6 kB / 451.5 MB, free: 40 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.2006, allocations: 29.7 kB / 451.5 MB, free: 39.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.2007, allocations: 269.1 kB / 451.8 MB, free: 39.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.836e-05/0.2008, allocations: 122.4 kB / 451.9 MB, free: 39.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.2009, allocations: 77.72 kB / 452 MB, free: 39.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.772e-05/0.201, allocations: 338.5 kB / 452.3 MB, free: 39.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.2011, allocations: 112.8 kB / 452.4 MB, free: 39.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.2013, allocations: 211.5 kB / 452.6 MB, free: 39.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003862/0.2017, allocations: 337 kB / 453 MB, free: 38.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2017, allocations: 0 / 453 MB, free: 38.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004962/0.2022, allocations: 420.6 kB / 453.4 MB, free: 38.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.2022, allocations: 12.41 kB / 453.4 MB, free: 38.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.2023, allocations: 3.25 kB / 453.4 MB, free: 38.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000126/0.2024, allocations: 40.52 kB / 453.4 MB, free: 38.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.2026, allocations: 117.2 kB / 453.5 MB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000674/0.2033, allocations: 1.333 MB / 454.9 MB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.2035, allocations: 20.58 kB / 454.9 MB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.2035, allocations: 20.62 kB / 454.9 MB, free: 37.37 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 0.0001573/0.2036, allocations: 166.8 kB / 455.1 MB, free: 37.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.2037, allocations: 36.09 kB / 455.1 MB, free: 37.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.669e-05/0.2037, allocations: 42.42 kB / 455.2 MB, free: 37.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.2037, allocations: 10.47 kB / 455.2 MB, free: 37.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.2037, allocations: 3.344 kB / 455.2 MB, free: 37.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2037, allocations: 1.562 kB / 455.2 MB, free: 37.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007219/0.2045, allocations: 0.6474 MB / 455.8 MB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.2045, allocations: 0 / 455.8 MB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.2047, allocations: 92.06 kB / 455.9 MB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.789e-05/0.2047, allocations: 21.92 kB / 455.9 MB, free: 36.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.2048, allocations: 14.22 kB / 455.9 MB, free: 36.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004688/0.2052, allocations: 1.316 MB / 457.3 MB, free: 35.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2052, allocations: 6.594 kB / 457.3 MB, free: 35.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005679/0.2058, allocations: 0.6087 MB / 457.9 MB, free: 35.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.608e-05/0.2059, allocations: 50.81 kB / 457.9 MB, free: 35.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.2059, allocations: 7.344 kB / 457.9 MB, free: 35.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.206, allocations: 20.94 kB / 458 MB, free: 35.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/0.2061, allocations: 34.14 kB / 458 MB, free: 35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.2061, allocations: 6.406 kB / 458 MB, free: 35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001059/0.2062, allocations: 187 kB / 458.2 MB, free: 34.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2062, allocations: 0 / 458.2 MB, free: 34.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003358/0.2065, allocations: 92.78 kB / 458.3 MB, free: 34.89 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.0006382/0.2072, allocations: 1.142 MB / 459.4 MB, free: 33.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005179/0.2077, allocations: 402.3 kB / 459.8 MB, free: 33.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2077, allocations: 0 / 459.8 MB, free: 33.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.2079, allocations: 242.8 kB / 460 MB, free: 33.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.2083, allocations: 43.52 kB / 460.1 MB, free: 33.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.2109, allocations: 3.404 MB / 463.5 MB, free: 31.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.211, allocations: 210.9 kB / 463.7 MB, free: 31.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000103/0.2111, allocations: 35.33 kB / 463.7 MB, free: 31.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.2112, allocations: 140.8 kB / 463.9 MB, free: 31.13 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2112, allocations: 3.938 kB / 463.9 MB, free: 31.13 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.2315, allocations: 7.355 MB / 471.2 MB, free: 29.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.022/7.253, allocations: 8.562 kB / 471.2 MB, free: 29.65 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --stepSize=0.00300043 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.311119469814003]