Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009485/0.0009484, allocations: 94.03 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 43.94 kB / 350 MB, free: 80 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2251, allocations: 49.44 MB / 399.5 MB, free: 33.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003316/0.2285, allocations: 3.304 MB / 402.8 MB, free: 30.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.23, allocations: 1.285 MB / 404.1 MB, free: 28.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.2302, allocations: 11.94 kB / 404.1 MB, free: 28.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003439/0.2306, allocations: 119.5 kB / 404.2 MB, free: 28.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000735/0.2313, allocations: 430 kB / 404.6 MB, free: 28.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.2316, allocations: 155.6 kB / 404.8 MB, free: 28.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003865/0.232, allocations: 430.1 kB / 405.2 MB, free: 27.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.2322, allocations: 124.7 kB / 405.3 MB, free: 27.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.2323, allocations: 155.3 kB / 405.5 MB, free: 27.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.2325, allocations: 199.1 kB / 405.7 MB, free: 27.19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/0.2326, allocations: 24 kB / 405.7 MB, free: 27.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.2328, allocations: 147.9 kB / 405.8 MB, free: 27.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.2328, allocations: 71.69 kB / 405.9 MB, free: 26.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.233, allocations: 187 kB / 406.1 MB, free: 26.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003819/0.2334, allocations: 0.5232 MB / 406.6 MB, free: 26.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2334, allocations: 0 / 406.6 MB, free: 26.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2334, allocations: 0 / 406.6 MB, free: 26.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.2334, allocations: 0 / 406.6 MB, free: 26.24 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.001145/0.2345, allocations: 0.7371 MB / 407.3 MB, free: 25.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.2346, allocations: 12.03 kB / 407.3 MB, free: 25.44 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005173/0.2351, allocations: 96.39 kB / 407.4 MB, free: 25.35 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.2354, allocations: 308.4 kB / 407.7 MB, free: 25.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.2354, allocations: 21.38 kB / 407.8 MB, free: 24.99 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/0.2355, allocations: 40.36 kB / 407.8 MB, free: 24.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004618/0.2359, allocations: 353.6 kB / 408.2 MB, free: 24.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.236, allocations: 7.938 kB / 408.2 MB, free: 24.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.236, allocations: 16 kB / 408.2 MB, free: 24.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.236, allocations: 8 kB / 408.2 MB, free: 24.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004067/0.2364, allocations: 242.1 kB / 408.4 MB, free: 24.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.238, allocations: 1.327 MB / 409.7 MB, free: 22.9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.2383, allocations: 201.8 kB / 409.9 MB, free: 22.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.2385, allocations: 85.67 kB / 410 MB, free: 22.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005552/0.239, allocations: 0.8676 MB / 410.9 MB, free: 21.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.2391, allocations: 38.56 kB / 410.9 MB, free: 21.58 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.322e-06/0.2391, allocations: 3.938 kB / 410.9 MB, free: 21.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004664/0.2395, allocations: 217.2 kB / 411.1 MB, free: 21.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.2396, allocations: 84.98 kB / 411.2 MB, free: 21.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.2398, allocations: 287 kB / 411.5 MB, free: 20.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.2398, allocations: 29.7 kB / 411.5 MB, free: 20.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/0.2399, allocations: 235.5 kB / 411.8 MB, free: 20.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.2399, allocations: 67.08 kB / 411.8 MB, free: 20.63 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.075e-05/0.24, allocations: 61.97 kB / 411.9 MB, free: 20.56 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.032e-05/0.2401, allocations: 338.8 kB / 412.2 MB, free: 20.22 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.2402, allocations: 68.61 kB / 412.3 MB, free: 20.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.2404, allocations: 198.4 kB / 412.5 MB, free: 19.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.2407, allocations: 298.1 kB / 412.8 MB, free: 19.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2407, allocations: 3.938 kB / 412.8 MB, free: 19.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004137/0.2411, allocations: 313.7 kB / 413.1 MB, free: 19.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2412, allocations: 8 kB / 413.1 MB, free: 19.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2412, allocations: 4 kB / 413.1 MB, free: 19.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.2412, allocations: 4 kB / 413.1 MB, free: 19.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.2414, allocations: 88.33 kB / 413.2 MB, free: 19.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.2415, allocations: 8 kB / 413.2 MB, free: 19.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.2416, allocations: 43.67 kB / 413.2 MB, free: 19.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.2417, allocations: 12 kB / 413.3 MB, free: 19.07 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.897e-05/0.2418, allocations: 157.7 kB / 413.4 MB, free: 18.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/0.2418, allocations: 23.72 kB / 413.4 MB, free: 18.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.871e-05/0.2419, allocations: 29.73 kB / 413.5 MB, free: 18.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2419, allocations: 7.938 kB / 413.5 MB, free: 18.85 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2419, allocations: 0 / 413.5 MB, free: 18.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2419, allocations: 4 kB / 413.5 MB, free: 18.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005095/0.2424, allocations: 0.5108 MB / 414 MB, free: 18.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2424, allocations: 4.297 kB / 414 MB, free: 18.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.2426, allocations: 43.92 kB / 414 MB, free: 18.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2426, allocations: 4 kB / 414 MB, free: 18.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.2427, allocations: 7.984 kB / 414 MB, free: 18.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2427, allocations: 11.97 kB / 414.1 MB, free: 18.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2427, allocations: 0 / 414.1 MB, free: 18.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/0.2444, allocations: 1.766 MB / 415.8 MB, free: 16.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.2444, allocations: 100.8 kB / 415.9 MB, free: 16.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.2445, allocations: 15.92 kB / 415.9 MB, free: 16.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.2447, allocations: 8 kB / 415.9 MB, free: 16.15 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.2447, allocations: 11.98 kB / 416 MB, free: 16.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.2447, allocations: 11.98 kB / 416 MB, free: 16.13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001283/0.2449, allocations: 201.9 kB / 416.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2449, allocations: 0 / 416.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004624/0.2453, allocations: 103.8 kB / 416.3 MB, free: 15.83 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.0001383/0.2455, allocations: 115.2 kB / 416.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003333/0.2458, allocations: 187.9 kB / 416.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2458, allocations: 0 / 416.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.246, allocations: 67.91 kB / 416.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.2464, allocations: 32.91 kB / 416.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009848/0.2474, allocations: 0.9518 MB / 417.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.2476, allocations: 0.7794 MB / 418.4 MB, free: 13.63 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001302/0.2477, allocations: 34.91 kB / 418.4 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.327e-05/0.2478, allocations: 27.44 kB / 418.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2478, allocations: 0 / 418.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of Templates: time 0.004769/0.2526, allocations: 2.412 MB / 420.9 MB, free: 11.18 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches