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.001528/0.001528, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001546/0.001546, allocations: 205.6 kB / 24.47 MB, free: 4.023 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.565/1.565, allocations: 230.4 MB / 258.1 MB, free: 8.137 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.002003/0.002003, allocations: 71.81 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.295, allocations: 53.31 MB / 432 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005231/0.3002, allocations: 3.345 MB / 435.4 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002689/0.3029, allocations: 1.429 MB / 436.8 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/0.3031, allocations: 8 kB / 436.8 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004435/0.3035, allocations: 143.1 kB / 437 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.3045, allocations: 436.7 kB / 437.4 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.305, allocations: 183.5 kB / 437.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006339/0.3056, allocations: 458.1 kB / 438 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002171/0.3058, allocations: 114.2 kB / 438.1 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.306, allocations: 175.3 kB / 438.3 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003059/0.3063, allocations: 203.2 kB / 438.5 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.388e-05/0.3064, allocations: 32 kB / 438.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003235/0.3067, allocations: 179.7 kB / 438.7 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.213e-05/0.3068, allocations: 79.75 kB / 438.8 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.307, allocations: 195 kB / 439 MB, free: 452 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007199/0.3077, allocations: 0.5525 MB / 439.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.3077, allocations: 4 kB / 439.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3077, allocations: 0 / 439.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.3077, allocations: 0 / 439.5 MB, free: 15.88 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.001531/0.3092, allocations: 0.752 MB / 440.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.3093, allocations: 8.031 kB / 440.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007709/0.31, allocations: 116.6 kB / 440.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005286/0.3106, allocations: 325.7 kB / 440.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.3106, allocations: 29.38 kB / 440.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.51e-05/0.3107, allocations: 28.38 kB / 440.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006254/0.3113, allocations: 357.6 kB / 441.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.3113, allocations: 4 kB / 441.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.3113, allocations: 16 kB / 441.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.3114, allocations: 11.94 kB / 441.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005159/0.3119, allocations: 250.1 kB / 441.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002225/0.3141, allocations: 1.312 MB / 442.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004202/0.3145, allocations: 185.1 kB / 442.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.3147, allocations: 81.67 kB / 443 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001175/0.3159, allocations: 1.2 MB / 444.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.3159, allocations: 42.48 kB / 444.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.3159, allocations: 0 / 444.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005921/0.3165, allocations: 213.4 kB / 444.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.3166, allocations: 85.05 kB / 444.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.317, allocations: 291 kB / 444.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.317, allocations: 25.7 kB / 444.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.3172, allocations: 248 kB / 445 MB, free: 9.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.533e-05/0.3172, allocations: 63.44 kB / 445.1 MB, free: 9.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.3174, allocations: 65.97 kB / 445.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.3175, allocations: 338.8 kB / 445.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.3177, allocations: 68.61 kB / 445.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.318, allocations: 198.4 kB / 445.8 MB, free: 9.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004652/0.3184, allocations: 300.8 kB / 446.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.3184, allocations: 0 / 446.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005822/0.319, allocations: 318.8 kB / 446.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.3191, allocations: 8 kB / 446.4 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.3191, allocations: 4 kB / 446.4 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.3191, allocations: 8 kB / 446.4 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/0.3194, allocations: 87.77 kB / 446.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.3194, allocations: 8.406 kB / 446.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.3196, allocations: 35.78 kB / 446.5 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.3196, allocations: 15.94 kB / 446.5 MB, free: 8.262 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.0001984/0.3198, allocations: 157.7 kB / 446.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.591e-05/0.3199, allocations: 35.75 kB / 446.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.733e-05/0.32, allocations: 25.78 kB / 446.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.32, allocations: 7.938 kB / 446.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.32, allocations: 0 / 446.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.32, allocations: 0 / 446.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008629/0.3209, allocations: 0.515 MB / 447.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3209, allocations: 64 / 447.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.3211, allocations: 51.91 kB / 447.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3211, allocations: 0 / 447.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.3211, allocations: 4 kB / 447.3 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.3211, allocations: 3.984 kB / 447.3 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3211, allocations: 0 / 447.3 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006308/0.3217, allocations: 433.2 kB / 447.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.904e-05/0.3218, allocations: 104.9 kB / 447.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.3219, allocations: 4 kB / 447.9 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.3221, allocations: 24.05 kB / 447.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.3221, allocations: 7.984 kB / 447.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.3221, allocations: 11.92 kB / 447.9 MB, free: 6.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002275/0.3224, allocations: 202 kB / 448.1 MB, free: 6.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3224, allocations: 0 / 448.1 MB, free: 6.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004546/0.3228, allocations: 83.81 kB / 448.2 MB, free: 6.512 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.0001837/0.323, allocations: 115.2 kB / 448.3 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004672/0.3235, allocations: 176.7 kB / 448.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3235, allocations: 4.125 kB / 448.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.3236, allocations: 67.84 kB / 448.5 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.324, allocations: 33.05 kB / 448.6 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.3253, allocations: 0.6589 MB / 449.2 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.3257, allocations: 0.7753 MB / 450 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.3259, allocations: 34.95 kB / 450 MB, free: 4.586 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.169e-05/0.3259, allocations: 27.42 kB / 450.1 MB, free: 4.559 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3259, allocations: 0 / 450.1 MB, free: 4.559 MB / 350.1 MB Notification: Performance of Templates: time 0.007128/0.333, allocations: 2.513 MB / 452.6 MB, free: 2.094 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 -s cvode -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: 4.732591649983078]