Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001388/0.001388, allocations: 114 kB / 21.18 MB, free: 0.5898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001783/0.001783, allocations: 206.6 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.366/1.366, allocations: 230.5 MB / 258.1 MB, free: 8.121 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 68.02 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2206, allocations: 53.31 MB / 432 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004654/0.2252, allocations: 3.33 MB / 435.4 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.2275, allocations: 1.433 MB / 436.8 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.2276, allocations: 8 kB / 436.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003939/0.228, allocations: 143.1 kB / 437 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009303/0.229, allocations: 433.7 kB / 437.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003908/0.2294, allocations: 187.4 kB / 437.6 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006023/0.23, allocations: 454.1 kB / 438 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000204/0.2302, allocations: 122.2 kB / 438.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.2304, allocations: 183.2 kB / 438.3 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.2307, allocations: 191.2 kB / 438.5 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.07e-05/0.2307, allocations: 36 kB / 438.5 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003091/0.231, allocations: 175.8 kB / 438.7 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.965e-05/0.2311, allocations: 75.7 kB / 438.8 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.2313, allocations: 195 kB / 439 MB, free: 440 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006852/0.232, allocations: 0.5564 MB / 439.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.232, allocations: 0 / 439.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.232, allocations: 4 kB / 439.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.232, allocations: 0 / 439.5 MB, free: 15.87 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.001461/0.2335, allocations: 0.7481 MB / 440.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2335, allocations: 12.03 kB / 440.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007219/0.2342, allocations: 120.5 kB / 440.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000468/0.2347, allocations: 317.8 kB / 440.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/0.2347, allocations: 29.38 kB / 440.7 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.371e-05/0.2348, allocations: 32.38 kB / 440.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005942/0.2354, allocations: 357.6 kB / 441.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.2354, allocations: 0 / 441.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.717e-05/0.2354, allocations: 16 kB / 441.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.2354, allocations: 8 kB / 441.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004934/0.2359, allocations: 258 kB / 441.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/0.2379, allocations: 1.316 MB / 442.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003661/0.2383, allocations: 181.2 kB / 442.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.2385, allocations: 81.67 kB / 443 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/0.2395, allocations: 1.196 MB / 444.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.2395, allocations: 42.59 kB / 444.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.172e-06/0.2395, allocations: 0 / 444.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.000532/0.2401, allocations: 209.4 kB / 444.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.2401, allocations: 89.05 kB / 444.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.2404, allocations: 291 kB / 444.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.2404, allocations: 33.7 kB / 444.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.2406, allocations: 240 kB / 445 MB, free: 9.883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.2407, allocations: 67.44 kB / 445.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.56e-05/0.2408, allocations: 65.97 kB / 445.2 MB, free: 9.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.2409, allocations: 334.8 kB / 445.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.2411, allocations: 68.61 kB / 445.6 MB, free: 9.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.2413, allocations: 198.4 kB / 445.8 MB, free: 9.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004131/0.2417, allocations: 300.8 kB / 446.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.2417, allocations: 4 kB / 446.1 MB, free: 8.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005326/0.2422, allocations: 319.6 kB / 446.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.2423, allocations: 8 kB / 446.4 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2423, allocations: 4 kB / 446.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.2423, allocations: 8.562 kB / 446.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.2426, allocations: 91.77 kB / 446.5 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.2426, allocations: 8 kB / 446.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.2428, allocations: 31.78 kB / 446.5 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.2428, allocations: 16 kB / 446.5 MB, free: 8.246 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.0001679/0.243, allocations: 161.6 kB / 446.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.966e-05/0.243, allocations: 27.81 kB / 446.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.985e-05/0.2431, allocations: 33.78 kB / 446.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.2431, allocations: 3.938 kB / 446.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.2431, allocations: 4 kB / 446.8 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2431, allocations: 4 kB / 446.8 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006883/0.2438, allocations: 0.503 MB / 447.3 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.289e-06/0.2438, allocations: 4.312 kB / 447.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002088/0.244, allocations: 47.89 kB / 447.3 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.244, allocations: 4 kB / 447.3 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.244, allocations: 12.03 kB / 447.3 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.244, allocations: 3.984 kB / 447.3 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.244, allocations: 4 kB / 447.3 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005453/0.2446, allocations: 421.5 kB / 447.8 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.428e-05/0.2447, allocations: 113 kB / 447.9 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.2447, allocations: 4 kB / 447.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.2449, allocations: 15.98 kB / 447.9 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.245, allocations: 7.984 kB / 447.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.245, allocations: 8 kB / 447.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001959/0.2452, allocations: 205.9 kB / 448.1 MB, free: 6.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2452, allocations: 0 / 448.1 MB, free: 6.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004069/0.2456, allocations: 79.81 kB / 448.2 MB, free: 6.5 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.0001585/0.2457, allocations: 119.2 kB / 448.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003851/0.2461, allocations: 176.4 kB / 448.5 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2461, allocations: 0 / 448.5 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.2463, allocations: 71.84 kB / 448.5 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.2467, allocations: 32.97 kB / 448.6 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.2478, allocations: 0.6993 MB / 449.3 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.2482, allocations: 0.7714 MB / 450 MB, free: 4.559 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.092e-05/0.2482, allocations: 27.44 kB / 450.1 MB, free: 4.531 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2482, allocations: 0 / 450.1 MB, free: 4.531 MB / 350.1 MB Notification: Performance of Templates: time 0.005633/0.2539, allocations: 3.526 MB / 453.6 MB, free: 1.02 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.766219601035118]