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.0009833/0.0009833, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 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.0009831/0.0009831, allocations: 159.4 kB / 25.61 MB, free: 8.582 MB / 18.57 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.9436/0.9436, allocations: 177 MB / 205.9 MB, free: 4.414 MB / 186.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.282e-06/1.282e-06, allocations: 0 / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056e-05/1.184e-05, allocations: 3.719 kB / 274.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.002847/0.002859, allocations: 3.257 MB / 277.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.004179, allocations: 1.35 MB / 278.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.00431, allocations: 4 kB / 278.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.004588, allocations: 146.9 kB / 278.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007205/0.005308, allocations: 435.2 kB / 279.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004852/0.005793, allocations: 171.5 kB / 279.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005603/0.006353, allocations: 473.8 kB / 279.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.006524, allocations: 104.8 kB / 280 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002925/0.006817, allocations: 311.3 kB / 280.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002493/0.007066, allocations: 175.5 kB / 280.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.971e-05/0.007116, allocations: 36 kB / 280.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002714/0.007387, allocations: 159.7 kB / 280.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.2e-05/0.007439, allocations: 83.67 kB / 280.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.618e-05/0.007535, allocations: 135.7 kB / 280.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000458/0.007993, allocations: 410.4 kB / 281.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.007997, allocations: 0 / 281.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.007998, allocations: 0 / 281.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.008004, allocations: 4 kB / 281.3 MB, free: 13.06 MB / 266.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.0008848/0.008889, allocations: 0.7726 MB / 282.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.00892, allocations: 12.03 kB / 282.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004197/0.00934, allocations: 136.5 kB / 282.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.009624, allocations: 256.8 kB / 282.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.009643, allocations: 21.38 kB / 282.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-05/0.009687, allocations: 36.38 kB / 282.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003532/0.01004, allocations: 335.4 kB / 282.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.01005, allocations: 192 / 282.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.01008, allocations: 12.38 kB / 282.9 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.01009, allocations: 11.94 kB / 282.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.01022, allocations: 100 kB / 283 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.01145, allocations: 1.234 MB / 284.2 MB, free: 9.973 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.01165, allocations: 146.1 kB / 284.4 MB, free: 9.805 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.805e-05/0.0117, allocations: 43.36 kB / 284.4 MB, free: 9.754 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005265/0.01222, allocations: 0.7212 MB / 285.1 MB, free: 9.012 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.01225, allocations: 45.38 kB / 285.2 MB, free: 8.957 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.173e-06/0.01225, allocations: 0 / 285.2 MB, free: 8.957 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002387/0.01249, allocations: 141.5 kB / 285.3 MB, free: 8.812 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.01252, allocations: 81.11 kB / 285.4 MB, free: 8.715 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.01272, allocations: 334.1 kB / 285.7 MB, free: 8.375 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.01273, allocations: 29.7 kB / 285.7 MB, free: 8.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.01286, allocations: 294.7 kB / 286 MB, free: 8.047 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.0129, allocations: 71.39 kB / 286.1 MB, free: 7.977 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.276e-05/0.01297, allocations: 75.61 kB / 286.2 MB, free: 7.891 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.0131, allocations: 0.5117 MB / 286.7 MB, free: 7.367 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.078e-05/0.01314, allocations: 28.62 kB / 286.7 MB, free: 7.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.01327, allocations: 218.9 kB / 286.9 MB, free: 7.043 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.01347, allocations: 277 kB / 287.2 MB, free: 6.691 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01347, allocations: 0 / 287.2 MB, free: 6.691 MB / 266.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002427/0.01371, allocations: 249 kB / 287.4 MB, free: 6.441 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.01373, allocations: 11.94 kB / 287.4 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.01373, allocations: 4.562 kB / 287.4 MB, free: 6.426 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.01374, allocations: 12 kB / 287.5 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.0139, allocations: 79.89 kB / 287.5 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.01391, allocations: 11.94 kB / 287.6 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.01402, allocations: 31.78 kB / 287.6 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.01403, allocations: 15.98 kB / 287.6 MB, free: 6.277 MB / 266.7 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 9.333e-05/0.01413, allocations: 180.4 kB / 287.8 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/0.01418, allocations: 31.81 kB / 287.8 MB, free: 6.059 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.01421, allocations: 29.8 kB / 287.8 MB, free: 6.027 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.01421, allocations: 4 kB / 287.8 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.01422, allocations: 0 / 287.8 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01422, allocations: 4 kB / 287.8 MB, free: 6.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003621/0.01458, allocations: 409.5 kB / 288.2 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01458, allocations: 0 / 288.2 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.0147, allocations: 43.91 kB / 288.3 MB, free: 5.539 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.0147, allocations: 4 kB / 288.3 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.01471, allocations: 4 kB / 288.3 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.01471, allocations: 4 kB / 288.3 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01471, allocations: 32 / 288.3 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.01498, allocations: 440.3 kB / 288.7 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.507e-05/0.01501, allocations: 19.86 kB / 288.7 MB, free: 5.055 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.01503, allocations: 12 kB / 288.8 MB, free: 5.043 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.01514, allocations: 11.98 kB / 288.8 MB, free: 5.031 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.01517, allocations: 15.92 kB / 288.8 MB, free: 5.016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.01518, allocations: 7.984 kB / 288.8 MB, free: 5.008 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.7e-05/0.01528, allocations: 207 kB / 289 MB, free: 4.805 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01528, allocations: 0 / 289 MB, free: 4.805 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002883/0.01557, allocations: 83.78 kB / 289.1 MB, free: 4.723 MB / 266.7 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.0001246/0.01569, allocations: 115.3 kB / 289.2 MB, free: 4.602 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.01589, allocations: 143.6 kB / 289.3 MB, free: 4.457 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01589, allocations: 0 / 289.3 MB, free: 4.457 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.8e-05/0.01594, allocations: 39.61 kB / 289.4 MB, free: 4.414 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.01622, allocations: 30.86 kB / 289.4 MB, free: 4.387 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008613/0.01708, allocations: 0.6148 MB / 290 MB, free: 3.734 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.968e-05/0.01714, allocations: 96.16 kB / 290.1 MB, free: 3.621 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.954e-05/0.01722, allocations: 30.97 kB / 290.1 MB, free: 3.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.651e-05/0.01731, allocations: 106.2 kB / 290.2 MB, free: 3.484 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01731, allocations: 0 / 290.2 MB, free: 3.484 MB / 266.7 MB Notification: Performance of Templates: time 0.004569/0.02188, allocations: 2.464 MB / 292.7 MB, free: 1.078 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.655407323036343]