Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001621/0.001621, allocations: 200.9 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008199/0.00082, allocations: 95.31 kB / 299.8 MB, free: 5.355 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002273/0.0002273, allocations: 8 kB / 360.6 MB, free: 8.477 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.197, allocations: 51.41 MB / 412.1 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.00233/0.1994, allocations: 2.809 MB / 414.9 MB, free: 23.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.2012, allocations: 2.423 MB / 417.3 MB, free: 20.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.2013, allocations: 11.94 kB / 417.3 MB, free: 20.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003269/0.2017, allocations: 127.4 kB / 417.4 MB, free: 20.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007299/0.2024, allocations: 0.6708 MB / 418.1 MB, free: 19.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.2027, allocations: 224.8 kB / 418.3 MB, free: 19.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003854/0.2031, allocations: 438.1 kB / 418.7 MB, free: 18.83 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.2033, allocations: 128.7 kB / 418.9 MB, free: 18.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.2034, allocations: 147.3 kB / 419 MB, free: 18.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.2036, allocations: 187.1 kB / 419.2 MB, free: 18.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.2037, allocations: 16 kB / 419.2 MB, free: 18.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002496/0.2039, allocations: 143.9 kB / 419.4 MB, free: 18.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.349e-05/0.204, allocations: 71.62 kB / 419.4 MB, free: 18.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.2041, allocations: 200.8 kB / 419.6 MB, free: 17.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003761/0.2045, allocations: 0.5191 MB / 420.1 MB, free: 17.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2045, allocations: 0 / 420.1 MB, free: 17.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.2045, allocations: 0 / 420.1 MB, free: 17.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.2045, allocations: 0 / 420.1 MB, free: 17.43 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.0009337/0.2054, allocations: 0.6864 MB / 420.8 MB, free: 16.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.2055, allocations: 8.031 kB / 420.8 MB, free: 16.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006674/0.2062, allocations: 124.4 kB / 421 MB, free: 16.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.2064, allocations: 312.5 kB / 421.3 MB, free: 16.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.2065, allocations: 25.38 kB / 421.3 MB, free: 16.19 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.466e-05/0.2065, allocations: 32.38 kB / 421.3 MB, free: 16.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004765/0.207, allocations: 357.6 kB / 421.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.207, allocations: 0 / 421.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.207, allocations: 12 kB / 421.7 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.2071, allocations: 12 kB / 421.7 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004071/0.2075, allocations: 261.9 kB / 421.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.209, allocations: 1.327 MB / 423.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.2093, allocations: 197 kB / 423.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.2095, allocations: 93.69 kB / 423.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006227/0.2101, allocations: 1.196 MB / 424.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.177e-05/0.2101, allocations: 30.56 kB / 424.8 MB, free: 12.37 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.2101, allocations: 4 kB / 424.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004399/0.2106, allocations: 233.3 kB / 425 MB, free: 12.13 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.088e-05/0.2106, allocations: 85.03 kB / 425.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.2108, allocations: 278.9 kB / 425.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.2108, allocations: 37.7 kB / 425.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.013e-05/0.2109, allocations: 239.5 kB / 425.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.211, allocations: 63.16 kB / 425.7 MB, free: 11.4 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.04e-05/0.211, allocations: 4 kB / 425.7 MB, free: 11.4 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.692e-05/0.211, allocations: 338.8 kB / 426 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.2112, allocations: 68.62 kB / 426.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.2113, allocations: 210.4 kB / 426.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.2116, allocations: 300.8 kB / 426.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2117, allocations: 4 kB / 426.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004158/0.2121, allocations: 313.4 kB / 426.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.2121, allocations: 8 kB / 426.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2121, allocations: 4 kB / 426.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.2121, allocations: 7.984 kB / 426.9 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.2124, allocations: 83.78 kB / 427 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.2124, allocations: 8 kB / 427 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.2126, allocations: 55.64 kB / 427.1 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.2126, allocations: 12 kB / 427.1 MB, free: 9.875 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.833e-05/0.2127, allocations: 153.7 kB / 427.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.2128, allocations: 23.72 kB / 427.3 MB, free: 9.691 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.392e-05/0.2128, allocations: 29.73 kB / 427.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2128, allocations: 7.938 kB / 427.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2129, allocations: 3.984 kB / 427.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2129, allocations: 3.984 kB / 427.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004992/0.2134, allocations: 0.5111 MB / 427.8 MB, free: 9.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2134, allocations: 4 kB / 427.8 MB, free: 9.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.2136, allocations: 55.91 kB / 427.9 MB, free: 9.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.2136, allocations: 0 / 427.9 MB, free: 9.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.2136, allocations: 4 kB / 427.9 MB, free: 9.016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2136, allocations: 4.031 kB / 427.9 MB, free: 9.012 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2136, allocations: 3.938 kB / 427.9 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004261/0.2141, allocations: 428.5 kB / 428.3 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.2141, allocations: 108.7 kB / 428.4 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.2142, allocations: 8 kB / 428.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.2144, allocations: 11.98 kB / 428.4 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.2144, allocations: 15.98 kB / 428.4 MB, free: 8.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.2144, allocations: 8.062 kB / 428.5 MB, free: 8.402 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001303/0.2146, allocations: 201.9 kB / 428.7 MB, free: 8.207 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2146, allocations: 0 / 428.7 MB, free: 8.207 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003534/0.2149, allocations: 79.75 kB / 428.7 MB, free: 8.129 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001222/0.215, allocations: 123.1 kB / 428.9 MB, free: 7.996 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003241/0.2154, allocations: 192.5 kB / 429 MB, free: 7.809 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2154, allocations: 320 / 429 MB, free: 7.809 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.2155, allocations: 79.89 kB / 429.1 MB, free: 7.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.2159, allocations: 28.83 kB / 429.1 MB, free: 7.703 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008626/0.2168, allocations: 0.8449 MB / 430 MB, free: 6.828 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.2169, allocations: 0.7677 MB / 430.8 MB, free: 6.035 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001258/0.2171, allocations: 34.95 kB / 430.8 MB, free: 6 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.2171, allocations: 27.42 kB / 430.8 MB, free: 5.973 MB / 298.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2171, allocations: 3.938 kB / 430.8 MB, free: 5.969 MB / 298.7 MB Notification: Performance of Templates: time 0.004503/0.2216, allocations: 2.18 MB / 433 MB, free: 3.797 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches