Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008441/0.000844, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.233/1.233, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007422/0.0007421, allocations: 89.48 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000294/0.000294, allocations: 8 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1958, allocations: 47.58 MB / 375.2 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.002301/0.1981, allocations: 2.756 MB / 377.9 MB, free: 43.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.1995, allocations: 1.23 MB / 379.2 MB, free: 42.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.1997, allocations: 7.281 kB / 379.2 MB, free: 42.28 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.1999, allocations: 105.4 kB / 379.3 MB, free: 42.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005428/0.2005, allocations: 289 kB / 379.6 MB, free: 41.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.2008, allocations: 206.9 kB / 379.8 MB, free: 41.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004107/0.2012, allocations: 410.1 kB / 380.2 MB, free: 41.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.2014, allocations: 130.3 kB / 380.3 MB, free: 41.53 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.2015, allocations: 139.5 kB / 380.4 MB, free: 41.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.2017, allocations: 170.4 kB / 380.6 MB, free: 41.35 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.2018, allocations: 18.72 kB / 380.6 MB, free: 41.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000229/0.202, allocations: 142.7 kB / 380.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.748e-05/0.2021, allocations: 58.8 kB / 380.8 MB, free: 41.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.2022, allocations: 193.6 kB / 381 MB, free: 41.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.2025, allocations: 396.2 kB / 381.4 MB, free: 40.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2025, allocations: 1.469 kB / 381.4 MB, free: 40.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2025, allocations: 3.938 kB / 381.4 MB, free: 40.81 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.2025, allocations: 4 kB / 381.4 MB, free: 40.81 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001061/0.2036, allocations: 0.6763 MB / 382.1 MB, free: 40.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.2036, allocations: 9.719 kB / 382.1 MB, free: 40.23 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.819e-05/0.2037, allocations: 70.53 kB / 382.2 MB, free: 40.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005197/0.2042, allocations: 104.4 kB / 382.3 MB, free: 40.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.2045, allocations: 304.6 kB / 382.6 MB, free: 39.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.2045, allocations: 26.19 kB / 382.6 MB, free: 39.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.512e-05/0.2046, allocations: 34.5 kB / 382.6 MB, free: 39.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005282/0.2051, allocations: 362 kB / 383 MB, free: 39.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2051, allocations: 0 / 383 MB, free: 39.56 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.2052, allocations: 18.88 kB / 383 MB, free: 39.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.2052, allocations: 8.688 kB / 383 MB, free: 39.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004403/0.2056, allocations: 250.6 kB / 383.2 MB, free: 39.44 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.2072, allocations: 1.339 MB / 384.6 MB, free: 38.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.2075, allocations: 200.9 kB / 384.8 MB, free: 38.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.2077, allocations: 89.3 kB / 384.9 MB, free: 38.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005202/0.2082, allocations: 0.8717 MB / 385.7 MB, free: 37.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.2083, allocations: 36.91 kB / 385.8 MB, free: 37.15 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.2083, allocations: 0 / 385.8 MB, free: 37.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004905/0.2088, allocations: 237.3 kB / 386 MB, free: 37.03 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/0.2088, allocations: 79.11 kB / 386.1 MB, free: 36.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.209, allocations: 288.1 kB / 386.4 MB, free: 36.74 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.2091, allocations: 26.67 kB / 386.4 MB, free: 36.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.565e-05/0.2091, allocations: 233.1 kB / 386.6 MB, free: 36.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.2092, allocations: 67.11 kB / 386.7 MB, free: 36.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.147e-05/0.2092, allocations: 5.469 kB / 386.7 MB, free: 36.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.049e-05/0.2093, allocations: 336.5 kB / 387 MB, free: 36.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.2094, allocations: 71.62 kB / 387.1 MB, free: 36.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.2096, allocations: 207.3 kB / 387.3 MB, free: 35.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/0.2099, allocations: 295.6 kB / 387.6 MB, free: 35.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.2099, allocations: 1.156 kB / 387.6 MB, free: 35.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004661/0.2104, allocations: 321.8 kB / 387.9 MB, free: 35.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2104, allocations: 10.2 kB / 387.9 MB, free: 35.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2104, allocations: 5.25 kB / 387.9 MB, free: 35.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.2105, allocations: 9.531 kB / 387.9 MB, free: 35.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.2107, allocations: 87.31 kB / 388 MB, free: 35.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.2107, allocations: 11.92 kB / 388 MB, free: 35.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.2109, allocations: 35.69 kB / 388 MB, free: 35.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.2109, allocations: 16 kB / 388.1 MB, free: 35.29 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.68e-05/0.211, allocations: 149.7 kB / 388.2 MB, free: 35.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.552e-05/0.2111, allocations: 31.62 kB / 388.2 MB, free: 35.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.2111, allocations: 29.73 kB / 388.3 MB, free: 35.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2112, allocations: 11.94 kB / 388.3 MB, free: 35.06 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.2112, allocations: 0 / 388.3 MB, free: 35.06 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2112, allocations: 3.984 kB / 388.3 MB, free: 35.06 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004866/0.2117, allocations: 0.5149 MB / 388.8 MB, free: 34.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2117, allocations: 3.938 kB / 388.8 MB, free: 34.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.2119, allocations: 51.94 kB / 388.8 MB, free: 34.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.2119, allocations: 3.938 kB / 388.9 MB, free: 34.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.2119, allocations: 8 kB / 388.9 MB, free: 34.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2119, allocations: 0 / 388.9 MB, free: 34.42 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2119, allocations: 0 / 388.9 MB, free: 34.42 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.2123, allocations: 439.1 kB / 389.3 MB, free: 33.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.2124, allocations: 104.8 kB / 389.4 MB, free: 33.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.2124, allocations: 4 kB / 389.4 MB, free: 33.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.2126, allocations: 24.05 kB / 389.4 MB, free: 33.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.2127, allocations: 7.984 kB / 389.4 MB, free: 33.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.2127, allocations: 8 kB / 389.4 MB, free: 33.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001267/0.2128, allocations: 194 kB / 389.6 MB, free: 33.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2128, allocations: 0 / 389.6 MB, free: 33.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003797/0.2132, allocations: 83.69 kB / 389.7 MB, free: 33.53 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000574/0.2138, allocations: 0.9843 MB / 390.7 MB, free: 32.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003067/0.2141, allocations: 192 kB / 390.9 MB, free: 32.33 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2141, allocations: 0 / 390.9 MB, free: 32.33 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.2142, allocations: 71.91 kB / 390.9 MB, free: 32.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.2146, allocations: 25.83 kB / 391 MB, free: 32.24 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.2165, allocations: 1.845 MB / 392.8 MB, free: 30.28 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.2167, allocations: 0.7718 MB / 393.6 MB, free: 29.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.2168, allocations: 107.4 kB / 393.7 MB, free: 29.38 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2168, allocations: 0 / 393.7 MB, free: 29.38 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.567/2.784, allocations: 4.403 MB / 398.1 MB, free: 24.97 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches