Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0008742/0.0008742, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001306/0.00218, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007801/0.0007801, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001157/0.001937, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9328/0.9328, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08555/1.018, allocations: 53.86 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] 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) 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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.312e-05/1.456e-05, allocations: 6.312 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.007845/0.00786, allocations: 3.32 MB / 248.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.009882, allocations: 1.412 MB / 249.9 MB, free: 8.828 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003198/0.01308, allocations: 11.94 kB / 249.9 MB, free: 8.816 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.01342, allocations: 143 kB / 250.1 MB, free: 8.676 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007797/0.0142, allocations: 421.4 kB / 250.5 MB, free: 8.262 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.01453, allocations: 179.5 kB / 250.7 MB, free: 8.086 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005124/0.01504, allocations: 477.8 kB / 251.1 MB, free: 7.617 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.01522, allocations: 109.5 kB / 251.2 MB, free: 7.508 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003752/0.01559, allocations: 339.9 kB / 251.6 MB, free: 7.176 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.01582, allocations: 179.5 kB / 251.7 MB, free: 7 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.433e-05/0.01587, allocations: 36 kB / 251.8 MB, free: 6.965 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003357/0.01922, allocations: 159.7 kB / 251.9 MB, free: 6.809 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.643e-05/0.01928, allocations: 67.75 kB / 252 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.01938, allocations: 111.8 kB / 252.1 MB, free: 6.633 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004531/0.01983, allocations: 378.6 kB / 252.5 MB, free: 6.262 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/0.01984, allocations: 0 / 252.5 MB, free: 6.262 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.01985, allocations: 0 / 252.5 MB, free: 6.262 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.01986, allocations: 4 kB / 252.5 MB, free: 6.258 MB / 250.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.001019/0.02088, allocations: 0.8088 MB / 253.3 MB, free: 5.406 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.0209, allocations: 8.625 kB / 253.3 MB, free: 5.398 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005253/0.02143, allocations: 148.6 kB / 253.4 MB, free: 5.254 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.02168, allocations: 202.3 kB / 253.6 MB, free: 5.027 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.0217, allocations: 21.38 kB / 253.7 MB, free: 5.004 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.02175, allocations: 40.38 kB / 253.7 MB, free: 4.965 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003379/0.02513, allocations: 329.7 kB / 254 MB, free: 4.621 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.02514, allocations: 4.125 kB / 254 MB, free: 4.617 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.02517, allocations: 16.38 kB / 254 MB, free: 4.602 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.02518, allocations: 11.94 kB / 254.1 MB, free: 4.59 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.02532, allocations: 79.45 kB / 254.1 MB, free: 4.512 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.02648, allocations: 0.9996 MB / 255.1 MB, free: 3.441 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.02666, allocations: 113.2 kB / 255.2 MB, free: 3.312 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.891e-05/0.02671, allocations: 41.7 kB / 255.3 MB, free: 3.266 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.38e-05/0.02679, allocations: 23.97 kB / 255.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.02681, allocations: 34.56 kB / 255.3 MB, free: 3.199 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.463e-06/0.02681, allocations: 4 kB / 255.3 MB, free: 3.195 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002953/0.02711, allocations: 129.8 kB / 255.5 MB, free: 3.062 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.02713, allocations: 77.11 kB / 255.6 MB, free: 2.969 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.0273, allocations: 264.7 kB / 255.8 MB, free: 2.699 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.02731, allocations: 29.7 kB / 255.8 MB, free: 2.664 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.755e-05/0.0274, allocations: 208.6 kB / 256 MB, free: 2.453 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.496e-05/0.02744, allocations: 83.31 kB / 256.1 MB, free: 2.371 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.139e-05/0.02752, allocations: 65.98 kB / 256.2 MB, free: 2.297 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.357e-05/0.0276, allocations: 338.8 kB / 256.5 MB, free: 1.957 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.892e-05/0.02764, allocations: 24.64 kB / 256.5 MB, free: 1.934 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.205e-05/0.02773, allocations: 138.9 kB / 256.7 MB, free: 1.75 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003486/0.03122, allocations: 205.4 kB / 256.9 MB, free: 1.5 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.03122, allocations: 4 kB / 256.9 MB, free: 1.496 MB / 250.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002342/0.03145, allocations: 189.5 kB / 257.1 MB, free: 1.305 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.03147, allocations: 8.062 kB / 257.1 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.03148, allocations: 7.938 kB / 257.1 MB, free: 1.289 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.03149, allocations: 8 kB / 257.1 MB, free: 1.281 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.03176, allocations: 93.45 kB / 257.2 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.03177, allocations: 11.98 kB / 257.2 MB, free: 1.18 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.03189, allocations: 35.73 kB / 257.2 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.03191, allocations: 12 kB / 257.2 MB, free: 1.133 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 8.51e-05/0.03199, allocations: 129.7 kB / 257.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.03205, allocations: 35.91 kB / 257.4 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.03219, allocations: 106.8 kB / 257.5 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.0322, allocations: 7.938 kB / 257.5 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.0322, allocations: 0 / 257.5 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.0322, allocations: 3.984 kB / 257.5 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004514/0.03265, allocations: 442.7 kB / 258 MB, free: 388 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.03266, allocations: 8.281 kB / 258 MB, free: 380 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.03284, allocations: 59.95 kB / 258 MB, free: 320 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.071e-05/0.03287, allocations: 27.81 kB / 258 MB, free: 292 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.03287, allocations: 0 / 258 MB, free: 292 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.03288, allocations: 8 kB / 258.1 MB, free: 284 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.03289, allocations: 0 / 258.1 MB, free: 284 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.03289, allocations: 3.938 kB / 258.1 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.03313, allocations: 320 kB / 258.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.03316, allocations: 7.938 kB / 258.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.03329, allocations: 12.03 kB / 258.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.03333, allocations: 19.97 kB / 258.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.03334, allocations: 3.984 kB / 258.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.767e-05/0.03342, allocations: 86.77 kB / 258.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03342, allocations: 0 / 258.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000344/0.03376, allocations: 95.72 kB / 258.6 MB, free: 15.71 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter_m.Phi.re,inductor_e.i) * 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 (21): * Single equations (assignments): 21 * 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.0001651/0.03393, allocations: 112.3 kB / 258.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001786/0.03411, allocations: 136.2 kB / 258.8 MB, free: 15.47 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/0.03412, allocations: 4 kB / 258.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.075e-05/0.0342, allocations: 65.12 kB / 258.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.03457, allocations: 249.7 kB / 259.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004828/0.0394, allocations: 0.6262 MB / 259.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.639e-05/0.03945, allocations: 92.3 kB / 259.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.199e-05/0.03954, allocations: 34.97 kB / 259.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.682e-05/0.03963, allocations: 95.36 kB / 260 MB, free: 14.22 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.03963, allocations: 0 / 260 MB, free: 14.22 MB / 266.7 MB Notification: Performance of Templates: time 0.004384/0.04402, allocations: 2.629 MB / 262.6 MB, free: 11.63 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.517915046773851]