Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 211.4 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 51.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2082, allocations: 53.36 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004594/0.2128, allocations: 3.061 MB / 435.4 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.2151, allocations: 1.308 MB / 436.7 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.2153, allocations: 11.94 kB / 436.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003984/0.2157, allocations: 143.1 kB / 436.8 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009675/0.2167, allocations: 409.7 kB / 437.2 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000425/0.2171, allocations: 183.2 kB / 437.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006585/0.2177, allocations: 470 kB / 437.9 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002232/0.218, allocations: 108.7 kB / 438 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002545/0.2182, allocations: 179.3 kB / 438.2 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.2185, allocations: 199.2 kB / 438.4 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.632e-05/0.2186, allocations: 40 kB / 438.4 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003059/0.2189, allocations: 167.8 kB / 438.6 MB, free: 456 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.465e-05/0.2189, allocations: 87.67 kB / 438.6 MB, free: 368 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.2191, allocations: 159.2 kB / 438.8 MB, free: 208 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007083/0.2198, allocations: 0.5437 MB / 439.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2198, allocations: 0 / 439.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2198, allocations: 0 / 439.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.2198, allocations: 0 / 439.3 MB, free: 15.66 MB / 350.1 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.001587/0.2214, allocations: 0.6845 MB / 440 MB, free: 14.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.2214, allocations: 8.031 kB / 440 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008333/0.2223, allocations: 120.5 kB / 440.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/0.2228, allocations: 255.7 kB / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/0.2228, allocations: 29.38 kB / 440.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.778e-05/0.2229, allocations: 36.38 kB / 440.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007093/0.2236, allocations: 404.9 kB / 440.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.2236, allocations: 0 / 440.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.313e-05/0.2236, allocations: 16 kB / 440.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.2236, allocations: 8 kB / 440.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005542/0.2242, allocations: 253.8 kB / 441.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002129/0.2263, allocations: 1.133 MB / 442.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/0.2267, allocations: 181.2 kB / 442.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.2269, allocations: 88 kB / 442.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00078/0.2277, allocations: 0.5497 MB / 443.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.2277, allocations: 38.61 kB / 443.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.2277, allocations: 0 / 443.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005832/0.2283, allocations: 213.4 kB / 443.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.2284, allocations: 89.09 kB / 443.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.2287, allocations: 292.2 kB / 443.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.2287, allocations: 29.7 kB / 443.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.2289, allocations: 244 kB / 444 MB, free: 10.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.013e-05/0.229, allocations: 71.41 kB / 444 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.862e-05/0.2291, allocations: 61.98 kB / 444.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.2292, allocations: 334.8 kB / 444.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.2294, allocations: 68.61 kB / 444.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.2297, allocations: 208.6 kB / 444.7 MB, free: 9.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004988/0.2302, allocations: 292.8 kB / 445 MB, free: 9.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2302, allocations: 0 / 445 MB, free: 9.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005833/0.2307, allocations: 317 kB / 445.3 MB, free: 9.309 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.2308, allocations: 8 kB / 445.3 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2308, allocations: 4 kB / 445.3 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.2308, allocations: 4 kB / 445.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/0.2311, allocations: 84.39 kB / 445.4 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/0.2312, allocations: 11.94 kB / 445.4 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.2314, allocations: 43.73 kB / 445.4 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.2314, allocations: 15.98 kB / 445.5 MB, free: 9.141 MB / 350.1 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 0.0001976/0.2316, allocations: 161.6 kB / 445.6 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-05/0.2317, allocations: 27.81 kB / 445.6 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.976e-05/0.2317, allocations: 29.73 kB / 445.7 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2317, allocations: 4 kB / 445.7 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2317, allocations: 3.938 kB / 445.7 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2317, allocations: 0 / 445.7 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006566/0.2324, allocations: 418.8 kB / 446.1 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.2324, allocations: 7.984 kB / 446.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.2326, allocations: 39.98 kB / 446.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.2326, allocations: 4 kB / 446.1 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.2326, allocations: 8.234 kB / 446.1 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.2326, allocations: 8 kB / 446.2 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.2326, allocations: 0 / 446.2 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006238/0.2333, allocations: 426 kB / 446.6 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.2333, allocations: 27.84 kB / 446.6 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.2334, allocations: 7.938 kB / 446.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.2336, allocations: 11.98 kB / 446.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.2337, allocations: 19.97 kB / 446.6 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.2337, allocations: 4 kB / 446.6 MB, free: 7.887 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002169/0.2339, allocations: 203 kB / 446.8 MB, free: 7.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2339, allocations: 0 / 446.8 MB, free: 7.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004368/0.2343, allocations: 87.84 kB / 446.9 MB, free: 7.605 MB / 350.1 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.0001454/0.2345, allocations: 111.2 kB / 447 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004292/0.2349, allocations: 180 kB / 447.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2349, allocations: 0 / 447.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.2351, allocations: 71.83 kB / 447.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.2355, allocations: 24.98 kB / 447.3 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.2366, allocations: 0.66 MB / 448 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.2368, allocations: 164.8 kB / 448.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000121/0.2369, allocations: 38.89 kB / 448.2 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/0.237, allocations: 31.42 kB / 448.2 MB, free: 6.273 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.237, allocations: 0 / 448.2 MB, free: 6.273 MB / 350.1 MB Notification: Performance of Templates: time 0.006927/0.2439, allocations: 2.647 MB / 450.8 MB, free: 3.668 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.463791707996279]