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.001347/0.001347, allocations: 85.58 kB / 20.68 MB, free: 1.035 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.001443/0.001443, allocations: 157.5 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.452/1.452, allocations: 177 MB / 204.1 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.322e-06/1.322e-06, allocations: 0 / 325 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.035e-05, allocations: 2.281 kB / 325 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004254/0.004274, allocations: 3.068 MB / 328.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002467/0.006742, allocations: 1.307 MB / 329.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001764/0.006918, allocations: 15.06 kB / 329.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004308/0.007349, allocations: 146.2 kB / 329.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00104/0.008389, allocations: 421.3 kB / 329.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.008837, allocations: 186.7 kB / 330.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006709/0.009508, allocations: 476.9 kB / 330.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.009731, allocations: 99.3 kB / 330.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000341/0.01007, allocations: 251.5 kB / 330.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.01034, allocations: 155.6 kB / 331.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.816e-05/0.0104, allocations: 39.22 kB / 331.1 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003285/0.01073, allocations: 164.5 kB / 331.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.384e-05/0.01081, allocations: 81.98 kB / 331.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.01097, allocations: 135.9 kB / 331.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007336/0.01171, allocations: 0.5628 MB / 332.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.01171, allocations: 0 / 332.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.01171, allocations: 3.938 kB / 332.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.01172, allocations: 0.9688 kB / 332.1 MB, free: 12.05 MB / 302.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.00152/0.01324, allocations: 0.6751 MB / 332.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.01328, allocations: 14.33 kB / 332.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007963/0.01407, allocations: 113.7 kB / 332.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004877/0.01456, allocations: 255.1 kB / 333.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.01459, allocations: 26.84 kB / 333.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.15e-05/0.01465, allocations: 35.22 kB / 333.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006782/0.01533, allocations: 408.5 kB / 333.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.01534, allocations: 192 / 333.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/0.01538, allocations: 20.66 kB / 333.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.01539, allocations: 11.38 kB / 333.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005196/0.01591, allocations: 256.1 kB / 333.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.01796, allocations: 1.12 MB / 335 MB, free: 9.816 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004112/0.01837, allocations: 179.8 kB / 335.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.01855, allocations: 87.47 kB / 335.2 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008161/0.01937, allocations: 0.5486 MB / 335.8 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.01941, allocations: 35.97 kB / 335.8 MB, free: 9.113 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.854e-06/0.01941, allocations: 1.094 kB / 335.8 MB, free: 9.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005929/0.02, allocations: 221.7 kB / 336 MB, free: 8.992 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.02006, allocations: 78.58 kB / 336.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003152/0.02038, allocations: 295.2 kB / 336.4 MB, free: 8.695 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.02041, allocations: 35.14 kB / 336.4 MB, free: 8.656 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.02059, allocations: 242.1 kB / 336.7 MB, free: 8.434 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.696e-05/0.02065, allocations: 64.16 kB / 336.7 MB, free: 8.379 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.02077, allocations: 68.12 kB / 336.8 MB, free: 8.324 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.02094, allocations: 336.5 kB / 337.1 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.02111, allocations: 73.92 kB / 337.2 MB, free: 7.957 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.02138, allocations: 203.1 kB / 337.4 MB, free: 7.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004658/0.02184, allocations: 286.9 kB / 337.7 MB, free: 7.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.02185, allocations: 1.406 kB / 337.7 MB, free: 7.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000599/0.02245, allocations: 319.6 kB / 338 MB, free: 7.328 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.02246, allocations: 7.812 kB / 338 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.02247, allocations: 4.203 kB / 338 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.0225, allocations: 6.031 kB / 338 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.02279, allocations: 77.56 kB / 338.1 MB, free: 7.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/0.02281, allocations: 14.66 kB / 338.1 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/0.02303, allocations: 45.08 kB / 338.1 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.02306, allocations: 12.56 kB / 338.2 MB, free: 7.273 MB / 302.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.0001846/0.02324, allocations: 166.6 kB / 338.3 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-05/0.02332, allocations: 25.17 kB / 338.3 MB, free: 7.105 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.293e-05/0.02339, allocations: 28.8 kB / 338.4 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.0234, allocations: 2.25 kB / 338.4 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.0234, allocations: 1.125 kB / 338.4 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.02341, allocations: 0 / 338.4 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007206/0.02413, allocations: 425.2 kB / 338.8 MB, free: 6.703 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.02413, allocations: 1.219 kB / 338.8 MB, free: 6.703 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.02435, allocations: 50.09 kB / 338.8 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.02436, allocations: 1.094 kB / 338.8 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.02437, allocations: 2.219 kB / 338.8 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.02438, allocations: 1.219 kB / 338.8 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.02438, allocations: 1.375 kB / 338.8 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006534/0.02503, allocations: 432.9 kB / 339.3 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.02508, allocations: 31.83 kB / 339.3 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.02512, allocations: 0 / 339.3 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.02534, allocations: 15.98 kB / 339.3 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/0.02541, allocations: 23.86 kB / 339.3 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.02542, allocations: 7.984 kB / 339.3 MB, free: 6.254 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002112/0.02563, allocations: 195.1 kB / 339.5 MB, free: 6.066 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02563, allocations: 0 / 339.5 MB, free: 6.066 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004692/0.0261, allocations: 83.78 kB / 339.6 MB, free: 5.984 MB / 302.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.0001904/0.02629, allocations: 115.2 kB / 339.7 MB, free: 5.863 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004231/0.02672, allocations: 179 kB / 339.9 MB, free: 5.691 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.02672, allocations: 3.938 kB / 339.9 MB, free: 5.688 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.02688, allocations: 71.84 kB / 340 MB, free: 5.617 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.02729, allocations: 28.97 kB / 340 MB, free: 5.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.02844, allocations: 0.5915 MB / 340.6 MB, free: 4.969 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.02862, allocations: 168.8 kB / 340.8 MB, free: 4.785 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.02874, allocations: 38.95 kB / 340.8 MB, free: 4.746 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.02882, allocations: 28.48 kB / 340.8 MB, free: 4.719 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.02882, allocations: 0 / 340.8 MB, free: 4.719 MB / 302.1 MB Notification: Performance of Templates: time 0.006651/0.03547, allocations: 2.178 MB / 343 MB, free: 2.582 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.313158169388771]