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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001095/0.001095, allocations: 195.5 kB / 17.38 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 226.6 MB / 244.7 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008066/0.0008067, allocations: 97.06 kB / 296.8 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002022/0.0002023, allocations: 8 kB / 356.8 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1912, allocations: 51.28 MB / 408 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.002424/0.1936, allocations: 2.81 MB / 410.8 MB, free: 24.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.1951, allocations: 1.256 MB / 412.1 MB, free: 23.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.1952, allocations: 4 kB / 412.1 MB, free: 23.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002699/0.1955, allocations: 111.4 kB / 412.2 MB, free: 23.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006312/0.1962, allocations: 339.8 kB / 412.6 MB, free: 23.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.1964, allocations: 121.7 kB / 412.7 MB, free: 23.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004004/0.1968, allocations: 432.2 kB / 413.1 MB, free: 22.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.197, allocations: 136 kB / 413.2 MB, free: 22.51 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.1972, allocations: 135.5 kB / 413.4 MB, free: 22.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.1973, allocations: 171.2 kB / 413.5 MB, free: 22.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.639e-05/0.1974, allocations: 20 kB / 413.5 MB, free: 22.19 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.1976, allocations: 155.8 kB / 413.7 MB, free: 22.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.086e-05/0.1977, allocations: 55.77 kB / 413.7 MB, free: 21.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.1978, allocations: 200.8 kB / 413.9 MB, free: 21.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.1981, allocations: 403.8 kB / 414.3 MB, free: 21.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1981, allocations: 0 / 414.3 MB, free: 21.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1981, allocations: 0 / 414.3 MB, free: 21.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1982, allocations: 3.938 kB / 414.3 MB, free: 21.38 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.001046/0.1992, allocations: 0.6825 MB / 415 MB, free: 20.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1992, allocations: 8.031 kB / 415 MB, free: 20.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006476/0.1999, allocations: 124.4 kB / 415.2 MB, free: 20.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.2002, allocations: 304.5 kB / 415.5 MB, free: 20.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.2002, allocations: 25.38 kB / 415.5 MB, free: 20.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.2003, allocations: 32.38 kB / 415.5 MB, free: 20.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000499/0.2008, allocations: 357.6 kB / 415.9 MB, free: 19.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.2008, allocations: 0 / 415.9 MB, free: 19.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.2008, allocations: 16 kB / 415.9 MB, free: 19.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.2009, allocations: 12 kB / 415.9 MB, free: 19.74 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004123/0.2013, allocations: 254 kB / 416.1 MB, free: 19.49 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.2029, allocations: 1.335 MB / 417.5 MB, free: 18.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.2032, allocations: 198 kB / 417.7 MB, free: 17.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.2033, allocations: 93.67 kB / 417.8 MB, free: 17.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006577/0.204, allocations: 1.192 MB / 418.9 MB, free: 16.37 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.204, allocations: 42.48 kB / 419 MB, free: 16.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.204, allocations: 4 kB / 419 MB, free: 16.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004877/0.2045, allocations: 225.2 kB / 419.2 MB, free: 16.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.2046, allocations: 85.05 kB / 419.3 MB, free: 15.99 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.2048, allocations: 282.9 kB / 419.6 MB, free: 15.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.2048, allocations: 29.7 kB / 419.6 MB, free: 15.67 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.841e-05/0.2049, allocations: 243.5 kB / 419.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.2049, allocations: 59.17 kB / 419.9 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/0.205, allocations: 4 kB / 419.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.825e-05/0.205, allocations: 338.8 kB / 420.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.2052, allocations: 72.61 kB / 420.3 MB, free: 14.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.2053, allocations: 204.8 kB / 420.5 MB, free: 14.69 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003358/0.2057, allocations: 290.6 kB / 420.8 MB, free: 14.35 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2057, allocations: 8 kB / 420.8 MB, free: 14.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004263/0.2061, allocations: 321.3 kB / 421.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.2062, allocations: 8 kB / 421.1 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.2062, allocations: 4 kB / 421.1 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.2062, allocations: 4 kB / 421.1 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.2064, allocations: 87.83 kB / 421.2 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.2065, allocations: 11.94 kB / 421.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.2066, allocations: 43.91 kB / 421.3 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.2067, allocations: 19.98 kB / 421.3 MB, free: 13.84 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 0.000106/0.2068, allocations: 149.8 kB / 421.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.597e-05/0.2068, allocations: 27.72 kB / 421.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.698e-05/0.2069, allocations: 29.73 kB / 421.5 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2069, allocations: 7.875 kB / 421.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.2069, allocations: 7.938 kB / 421.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2069, allocations: 0 / 421.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005147/0.2074, allocations: 0.5108 MB / 422 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2074, allocations: 3.984 kB / 422 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.2076, allocations: 55.86 kB / 422.1 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2077, allocations: 0 / 422.1 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.2077, allocations: 3.984 kB / 422.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.2077, allocations: 8.031 kB / 422.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2077, allocations: 0 / 422.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004121/0.2081, allocations: 427.2 kB / 422.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/0.2082, allocations: 104.7 kB / 422.6 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.2082, allocations: 4 kB / 422.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.2084, allocations: 19.98 kB / 422.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.2084, allocations: 15.92 kB / 422.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.2085, allocations: 8.062 kB / 422.6 MB, free: 12.37 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001308/0.2086, allocations: 194 kB / 422.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2086, allocations: 4 kB / 422.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003682/0.209, allocations: 83.73 kB / 422.9 MB, free: 12.1 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.0001247/0.2091, allocations: 119.2 kB / 423 MB, free: 11.97 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003683/0.2095, allocations: 192 kB / 423.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2095, allocations: 320 / 423.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.2096, allocations: 79.84 kB / 423.3 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.21, allocations: 32.81 kB / 423.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008676/0.2109, allocations: 0.8411 MB / 424.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.2111, allocations: 0.7755 MB / 425 MB, free: 10 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.33e-05/0.2112, allocations: 23.44 kB / 425 MB, free: 9.977 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2112, allocations: 0 / 425 MB, free: 9.977 MB / 298.7 MB Notification: Performance of Templates: time 0.003929/0.2151, allocations: 3.377 MB / 428.4 MB, free: 6.609 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (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 & ./Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance --alarm=480 -emit_protected > 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/jenkins/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