Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 84.98 kB / 22.99 MB, free: 1.504 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 176.2 kB / 26.4 MB, free: 7.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8725/0.8725, allocations: 158.6 MB / 188.3 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|inductor_e.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|inductor_e.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 3.938 kB / 252.2 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.712e-05, allocations: 6.25 kB / 252.2 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.00674/0.006768, allocations: 4.479 MB / 256.7 MB, free: 2.75 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003254/0.01002, allocations: 1.69 MB / 258.4 MB, free: 1.051 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003927/0.01041, allocations: 27.81 kB / 258.4 MB, free: 1.023 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006255/0.01104, allocations: 278 kB / 258.7 MB, free: 0.75 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.01238, allocations: 0.6525 MB / 259.4 MB, free: 96 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000443/0.01282, allocations: 239.4 kB / 259.6 MB, free: 15.86 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001883/0.01471, allocations: 1.941 MB / 261.5 MB, free: 13.91 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007295/0.01544, allocations: 0.652 MB / 262.2 MB, free: 13.22 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.01683, allocations: 1.283 MB / 263.5 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001571/0.0184, allocations: 1.045 MB / 264.5 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000339/0.01874, allocations: 192 kB / 264.7 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004739/0.01921, allocations: 299.7 kB / 265 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003487/0.01956, allocations: 0.5609 MB / 265.6 MB, free: 9.848 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006992/0.02026, allocations: 0.6274 MB / 266.2 MB, free: 9.219 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.02171, allocations: 1.589 MB / 267.8 MB, free: 7.625 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.02172, allocations: 0 / 267.8 MB, free: 7.625 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.02172, allocations: 0 / 267.8 MB, free: 7.625 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.02173, allocations: 0 / 267.8 MB, free: 7.625 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.002418/0.02415, allocations: 2.179 MB / 270 MB, free: 5.402 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.02419, allocations: 15.97 kB / 270 MB, free: 5.387 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009672/0.02515, allocations: 459.4 kB / 270.4 MB, free: 4.938 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.02621, allocations: 0.7834 MB / 271.2 MB, free: 4.121 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.536e-05/0.02626, allocations: 103 kB / 271.3 MB, free: 4.02 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.0264, allocations: 136.3 kB / 271.4 MB, free: 3.887 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.02752, allocations: 1.126 MB / 272.6 MB, free: 2.688 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.02755, allocations: 3.938 kB / 272.6 MB, free: 2.684 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.408e-05/0.02763, allocations: 63.98 kB / 272.6 MB, free: 2.621 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.551e-05/0.02768, allocations: 45.98 kB / 272.7 MB, free: 2.578 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000545/0.02822, allocations: 390.8 kB / 273.1 MB, free: 2.195 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004374/0.0326, allocations: 4.312 MB / 277.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009891/0.03359, allocations: 0.65 MB / 278 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004696/0.03406, allocations: 181.2 kB / 278.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/0.03518, allocations: 1.139 MB / 279.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.03521, allocations: 41.39 kB / 279.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=53): time 1.773e-06/0.03521, allocations: 0 / 279.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001256/0.03646, allocations: 0.6753 MB / 280.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.0365, allocations: 85.09 kB / 280.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006091/0.03711, allocations: 0.827 MB / 281 MB, free: 9.973 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.03714, allocations: 33.7 kB / 281 MB, free: 9.934 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003709/0.03751, allocations: 0.7755 MB / 281.8 MB, free: 9.148 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.03762, allocations: 210.3 kB / 282 MB, free: 8.941 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.03776, allocations: 139.9 kB / 282.1 MB, free: 8.797 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.0379, allocations: 0.5276 MB / 282.6 MB, free: 8.262 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.03801, allocations: 65.25 kB / 282.7 MB, free: 8.199 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.03825, allocations: 307.8 kB / 283 MB, free: 7.801 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003814/0.03863, allocations: 430.6 kB / 283.4 MB, free: 7.289 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.03864, allocations: 3.938 kB / 283.4 MB, free: 7.285 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0005447/0.03918, allocations: 490 kB / 283.9 MB, free: 6.801 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.0392, allocations: 8 kB / 283.9 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.03921, allocations: 4 kB / 283.9 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.03922, allocations: 8.562 kB / 283.9 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/0.03959, allocations: 167.8 kB / 284.1 MB, free: 6.617 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.0396, allocations: 11.94 kB / 284.1 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.03983, allocations: 75.48 kB / 284.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.03986, allocations: 16 kB / 284.2 MB, free: 6.516 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * 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.0002263/0.04009, allocations: 196.4 kB / 284.4 MB, free: 6.312 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.0402, allocations: 103.4 kB / 284.5 MB, free: 6.211 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004916/0.04069, allocations: 400.2 kB / 284.9 MB, free: 5.805 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.0407, allocations: 4 kB / 284.9 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.04071, allocations: 4 kB / 284.9 MB, free: 5.797 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.04072, allocations: 3.984 kB / 284.9 MB, free: 5.793 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.04199, allocations: 0.9929 MB / 285.9 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.04199, allocations: 3.984 kB / 285.9 MB, free: 4.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.04221, allocations: 87.89 kB / 286 MB, free: 4.664 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002942/0.0425, allocations: 134.9 kB / 286.1 MB, free: 4.531 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.04253, allocations: 23.98 kB / 286.1 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/0.0441, allocations: 2.593 MB / 288.7 MB, free: 1.809 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.04411, allocations: 3.984 kB / 288.7 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007129/0.04482, allocations: 0.8078 MB / 289.5 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.04493, allocations: 99.23 kB / 289.6 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.039e-05/0.045, allocations: 23.98 kB / 289.7 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.04523, allocations: 35.97 kB / 289.7 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.04531, allocations: 47.92 kB / 289.7 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.04533, allocations: 15.98 kB / 289.7 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000313/0.04565, allocations: 478.8 kB / 290.2 MB, free: 292 kB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04565, allocations: 0 / 290.2 MB, free: 292 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007274/0.04637, allocations: 367 kB / 290.6 MB, free: 15.92 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002006/0.04657, allocations: 143.1 kB / 290.7 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003808/0.04695, allocations: 292.7 kB / 291 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.04696, allocations: 384 / 291 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004419/0.0474, allocations: 438.5 kB / 291.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005507/0.04795, allocations: 172.2 kB / 291.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/0.05073, allocations: 2.324 MB / 293.9 MB, free: 12.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.05102, allocations: 437.7 kB / 294.3 MB, free: 12.04 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002526/0.05127, allocations: 106.7 kB / 294.5 MB, free: 11.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003278/0.0516, allocations: 254.1 kB / 294.7 MB, free: 11.68 MB / 282.7 MB Notification: Performance of SimCode: time 1.142e-06/0.0516, allocations: 0 / 294.7 MB, free: 11.68 MB / 282.7 MB Notification: Performance of Templates: time 0.01704/0.06864, allocations: 12.37 MB / 307.1 MB, free: 15.34 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.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.9858557637780905]