Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0009587/0.0009588, allocations: 197.4 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.219/1.219, allocations: 226.5 MB / 244.7 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007628/0.0007631, allocations: 104 kB / 296.7 MB, free: 6.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002455/0.0002455, allocations: 8 kB / 356.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.1992, allocations: 51.29 MB / 408.1 MB, free: 27.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.002232/0.2015, allocations: 2.807 MB / 410.9 MB, free: 24.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.2028, allocations: 1.25 MB / 412.2 MB, free: 23.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.203, allocations: 8 kB / 412.2 MB, free: 23.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.2032, allocations: 103.4 kB / 412.3 MB, free: 23.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005883/0.2038, allocations: 344.2 kB / 412.6 MB, free: 23.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.2041, allocations: 135.5 kB / 412.8 MB, free: 22.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003775/0.2045, allocations: 426.1 kB / 413.2 MB, free: 22.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.2046, allocations: 123 kB / 413.3 MB, free: 22.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.2048, allocations: 143.4 kB / 413.4 MB, free: 22.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.2049, allocations: 175.2 kB / 413.6 MB, free: 22.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.205, allocations: 20 kB / 413.6 MB, free: 22.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.2052, allocations: 147.8 kB / 413.8 MB, free: 21.94 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.014e-05/0.2052, allocations: 63.75 kB / 413.8 MB, free: 21.88 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.2054, allocations: 192.8 kB / 414 MB, free: 21.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.2057, allocations: 400.1 kB / 414.4 MB, free: 21.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2057, allocations: 4 kB / 414.4 MB, free: 21.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.2057, allocations: 0 / 414.4 MB, free: 21.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.2057, allocations: 3.938 kB / 414.4 MB, free: 21.28 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.001081/0.2068, allocations: 0.6864 MB / 415.1 MB, free: 20.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.2068, allocations: 12.03 kB / 415.1 MB, free: 20.53 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.325e-05/0.2069, allocations: 70.72 kB / 415.2 MB, free: 20.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006332/0.2075, allocations: 120.4 kB / 415.3 MB, free: 20.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.2078, allocations: 308.5 kB / 415.6 MB, free: 20 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.2078, allocations: 21.38 kB / 415.6 MB, free: 19.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.2079, allocations: 40.31 kB / 415.7 MB, free: 19.94 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/0.2084, allocations: 357.5 kB / 416 MB, free: 19.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2084, allocations: 0 / 416 MB, free: 19.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.2084, allocations: 15.98 kB / 416 MB, free: 19.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-06/0.2085, allocations: 12 kB / 416.1 MB, free: 19.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004022/0.2089, allocations: 254 kB / 416.3 MB, free: 19.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.2104, allocations: 1.335 MB / 417.6 MB, free: 17.86 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.2107, allocations: 197.2 kB / 417.8 MB, free: 17.65 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.2109, allocations: 89.67 kB / 417.9 MB, free: 17.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006094/0.2115, allocations: 1.208 MB / 419.1 MB, free: 16.17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.29e-05/0.2115, allocations: 30.56 kB / 419.2 MB, free: 16.13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.2115, allocations: 0 / 419.2 MB, free: 16.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004479/0.212, allocations: 241.1 kB / 419.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.212, allocations: 77.11 kB / 419.5 MB, free: 15.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.2122, allocations: 278.9 kB / 419.7 MB, free: 15.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.2122, allocations: 33.7 kB / 419.8 MB, free: 15.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.664e-05/0.2123, allocations: 235.5 kB / 420 MB, free: 15.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.2123, allocations: 59.17 kB / 420.1 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/0.2124, allocations: 4 kB / 420.1 MB, free: 15.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.164e-05/0.2124, allocations: 342.8 kB / 420.4 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.2126, allocations: 72.61 kB / 420.5 MB, free: 14.76 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.2127, allocations: 200.8 kB / 420.7 MB, free: 14.51 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.213, allocations: 296.9 kB / 421 MB, free: 14.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.213, allocations: 0 / 421 MB, free: 14.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004121/0.2134, allocations: 320.9 kB / 421.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.2135, allocations: 8 kB / 421.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.2135, allocations: 4 kB / 421.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.2135, allocations: 8.5 kB / 421.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.2138, allocations: 87.89 kB / 421.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.2138, allocations: 11.94 kB / 421.4 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.2139, allocations: 43.53 kB / 421.4 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.214, allocations: 15.98 kB / 421.4 MB, free: 13.66 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.973e-05/0.2141, allocations: 149.8 kB / 421.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/0.2141, allocations: 23.72 kB / 421.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.459e-05/0.2142, allocations: 33.73 kB / 421.6 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.2142, allocations: 11.88 kB / 421.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2142, allocations: 3.938 kB / 421.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2142, allocations: 0 / 421.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005053/0.2147, allocations: 0.5069 MB / 422.2 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2147, allocations: 7.938 kB / 422.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.2149, allocations: 55.94 kB / 422.2 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2149, allocations: 0 / 422.2 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.215, allocations: 4 kB / 422.2 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.215, allocations: 320 / 422.2 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.215, allocations: 3.984 kB / 422.2 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.2154, allocations: 431.2 kB / 422.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.2154, allocations: 108.7 kB / 422.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.2155, allocations: 8 kB / 422.8 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.2157, allocations: 20.05 kB / 422.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.2157, allocations: 11.98 kB / 422.8 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.2157, allocations: 4 kB / 422.8 MB, free: 12.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001269/0.2159, allocations: 198 kB / 423 MB, free: 12 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2159, allocations: 0 / 423 MB, free: 12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003539/0.2162, allocations: 79.75 kB / 423.1 MB, free: 11.92 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.0005658/0.2168, allocations: 0.9766 MB / 424.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003108/0.2171, allocations: 200.1 kB / 424.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2171, allocations: 0 / 424.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.2173, allocations: 77.03 kB / 424.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.2177, allocations: 32.88 kB / 424.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.2196, allocations: 1.829 MB / 426.2 MB, free: 8.664 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.2197, allocations: 0.7755 MB / 427 MB, free: 7.863 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.2199, allocations: 111.4 kB / 427.1 MB, free: 7.758 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2199, allocations: 0 / 427.1 MB, free: 7.758 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.481/2.701, allocations: 4.421 MB / 431.5 MB, free: 3.344 MB / 298.7 MB (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches