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.0009123/0.0009123, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.001009/0.001009, allocations: 165.6 kB / 25.7 MB, free: 8.438 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.8592/0.8592, allocations: 158.6 MB / 187.6 MB, free: 2.75 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.102e-06/1.102e-06, allocations: 0 / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.212e-05/1.323e-05, allocations: 2.312 kB / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.003691/0.003704, allocations: 4.487 MB / 256 MB, free: 2.75 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.005978, allocations: 1.752 MB / 257.8 MB, free: 0.9883 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002509/0.006229, allocations: 27.81 kB / 257.8 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004349/0.006664, allocations: 274.1 kB / 258.1 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.007706, allocations: 0.6719 MB / 258.7 MB, free: 16 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.00805, allocations: 235.4 kB / 259 MB, free: 15.79 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001396/0.009445, allocations: 1.964 MB / 260.9 MB, free: 13.81 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005687/0.01001, allocations: 0.6676 MB / 261.6 MB, free: 13.09 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009883/0.011, allocations: 1.286 MB / 262.9 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008691/0.01187, allocations: 1.049 MB / 263.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.01204, allocations: 184 kB / 264.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003577/0.0124, allocations: 299.7 kB / 264.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003762/0.01278, allocations: 0.5647 MB / 265 MB, free: 9.715 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004496/0.01323, allocations: 0.6197 MB / 265.6 MB, free: 9.094 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.01431, allocations: 1.597 MB / 267.2 MB, free: 7.492 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.01432, allocations: 0 / 267.2 MB, free: 7.492 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01432, allocations: 0 / 267.2 MB, free: 7.492 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.999e-05/0.01434, allocations: 0 / 267.2 MB, free: 7.492 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.002068/0.0164, allocations: 1.956 MB / 269.1 MB, free: 5.504 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.01644, allocations: 11.98 kB / 269.1 MB, free: 5.492 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008895/0.01733, allocations: 432.3 kB / 269.6 MB, free: 5.07 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006536/0.01798, allocations: 0.5752 MB / 270.1 MB, free: 4.465 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/0.01803, allocations: 99.05 kB / 270.2 MB, free: 4.367 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.01818, allocations: 148.2 kB / 270.4 MB, free: 4.223 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.01923, allocations: 1.155 MB / 271.5 MB, free: 3 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.01925, allocations: 3.938 kB / 271.5 MB, free: 2.996 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/0.01943, allocations: 56 kB / 271.6 MB, free: 2.941 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.966e-05/0.01946, allocations: 42 kB / 271.6 MB, free: 2.902 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004932/0.01996, allocations: 330.9 kB / 272 MB, free: 2.578 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003459/0.02342, allocations: 3.511 MB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008295/0.02425, allocations: 0.5799 MB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.0244, allocations: 159.5 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000953/0.02535, allocations: 0.8715 MB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.02537, allocations: 46.5 kB / 277.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=53): time 2.144e-06/0.02538, allocations: 0 / 277.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001038/0.02642, allocations: 0.5659 MB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.02645, allocations: 85.05 kB / 277.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004322/0.02688, allocations: 0.6441 MB / 278.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.02691, allocations: 33.7 kB / 278.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002987/0.02721, allocations: 0.5833 MB / 279 MB, free: 11.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.084e-05/0.0273, allocations: 198.3 kB / 279.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.02742, allocations: 118.2 kB / 279.3 MB, free: 10.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.425e-05/0.02749, allocations: 337.8 kB / 279.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.876e-05/0.02758, allocations: 57.28 kB / 279.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.02774, allocations: 225.7 kB / 280 MB, free: 10.19 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.02803, allocations: 359.1 kB / 280.3 MB, free: 9.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.02804, allocations: 4 kB / 280.3 MB, free: 9.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0003888/0.02842, allocations: 362.5 kB / 280.7 MB, free: 9.406 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.02844, allocations: 4.562 kB / 280.7 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.02845, allocations: 12 kB / 280.7 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.02846, allocations: 8 kB / 280.7 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/0.02881, allocations: 167.7 kB / 280.8 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.02882, allocations: 11.98 kB / 280.9 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.02902, allocations: 67.52 kB / 280.9 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.02905, allocations: 27.92 kB / 281 MB, free: 9.113 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.0001652/0.02921, allocations: 156.4 kB / 281.1 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.538e-05/0.0293, allocations: 71.92 kB / 281.2 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003906/0.02969, allocations: 336.4 kB / 281.5 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.02969, allocations: 4 kB / 281.5 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.0297, allocations: 4 kB / 281.5 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.0297, allocations: 7.984 kB / 281.5 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000812/0.03052, allocations: 0.7888 MB / 282.3 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.03052, allocations: 7.984 kB / 282.3 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.03073, allocations: 75.89 kB / 282.4 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002581/0.03098, allocations: 127.7 kB / 282.5 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/0.03102, allocations: 19.98 kB / 282.5 MB, free: 7.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/0.03229, allocations: 2.037 MB / 284.6 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.0323, allocations: 8.031 kB / 284.6 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005711/0.03287, allocations: 0.6148 MB / 285.2 MB, free: 4.691 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.811e-05/0.03295, allocations: 91.3 kB / 285.3 MB, free: 4.602 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.178e-05/0.03303, allocations: 19.94 kB / 285.3 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.03325, allocations: 39.97 kB / 285.3 MB, free: 4.543 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-05/0.03332, allocations: 47.86 kB / 285.4 MB, free: 4.496 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/0.03335, allocations: 15.98 kB / 285.4 MB, free: 4.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003044/0.03365, allocations: 312.5 kB / 285.7 MB, free: 4.176 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03365, allocations: 0 / 285.7 MB, free: 4.176 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005184/0.03417, allocations: 370.8 kB / 286.1 MB, free: 3.812 MB / 266.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.0001634/0.03433, allocations: 108.3 kB / 286.2 MB, free: 3.699 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000306/0.03464, allocations: 277.6 kB / 286.4 MB, free: 3.426 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/0.03465, allocations: 12 kB / 286.5 MB, free: 3.414 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003819/0.03503, allocations: 344.8 kB / 286.8 MB, free: 3.066 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.0355, allocations: 176.3 kB / 287 MB, free: 2.898 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.03765, allocations: 2.205 MB / 289.2 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.03788, allocations: 357.8 kB / 289.5 MB, free: 268 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002244/0.03811, allocations: 106.7 kB / 289.6 MB, free: 156 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/0.03843, allocations: 225.2 kB / 289.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of SimCode: time 8.11e-07/0.03843, allocations: 0 / 289.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of Templates: time 0.01472/0.05315, allocations: 11.97 MB / 301.8 MB, free: 4.004 MB / 282.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.864428007043898]