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.001493/0.001493, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001725/0.001725, allocations: 165.9 kB / 25.33 MB, free: 9.172 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.9078/0.9078, allocations: 158.6 MB / 187.2 MB, free: 2.664 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.352e-06/1.352e-06, allocations: 0 / 251 MB, free: 7.473 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.937e-05, allocations: 6.312 kB / 251 MB, free: 7.465 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.004647/0.004667, allocations: 4.572 MB / 255.6 MB, free: 2.867 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002699/0.007366, allocations: 1.706 MB / 257.3 MB, free: 1.152 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003746/0.00774, allocations: 31.81 kB / 257.4 MB, free: 1.121 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000528/0.008268, allocations: 274 kB / 257.6 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.009668, allocations: 0.6564 MB / 258.3 MB, free: 196 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007395/0.01041, allocations: 239.4 kB / 258.5 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001735/0.01214, allocations: 1.949 MB / 260.5 MB, free: 14 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008993/0.01304, allocations: 0.6481 MB / 261.1 MB, free: 13.32 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009282/0.01397, allocations: 1.154 MB / 262.3 MB, free: 12.16 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008175/0.01479, allocations: 0.986 MB / 263.2 MB, free: 11.17 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001741/0.01496, allocations: 188 kB / 263.4 MB, free: 10.99 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004211/0.01538, allocations: 299.8 kB / 263.7 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003175/0.0157, allocations: 0.5686 MB / 264.3 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00044/0.01614, allocations: 0.6275 MB / 264.9 MB, free: 9.496 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.01739, allocations: 1.612 MB / 266.5 MB, free: 7.879 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.01739, allocations: 3.984 kB / 266.5 MB, free: 7.875 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.01739, allocations: 0 / 266.5 MB, free: 7.875 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.01741, allocations: 0 / 266.5 MB, free: 7.875 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.002805/0.02021, allocations: 2.297 MB / 268.8 MB, free: 5.535 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.02025, allocations: 15.98 kB / 268.8 MB, free: 5.52 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.02133, allocations: 0.5267 MB / 269.4 MB, free: 4.992 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000936/0.02227, allocations: 0.8681 MB / 270.2 MB, free: 4.09 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.296e-05/0.02232, allocations: 99.05 kB / 270.3 MB, free: 3.992 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.02246, allocations: 140.3 kB / 270.5 MB, free: 3.855 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.02381, allocations: 1.22 MB / 271.7 MB, free: 2.562 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.02383, allocations: 7.938 kB / 271.7 MB, free: 2.555 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.983e-05/0.02391, allocations: 52 kB / 271.8 MB, free: 2.504 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.657e-05/0.02395, allocations: 53.94 kB / 271.8 MB, free: 2.453 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008809/0.02484, allocations: 0.4917 MB / 272.3 MB, free: 1.961 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004604/0.02944, allocations: 4.403 MB / 276.7 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.03066, allocations: 0.767 MB / 277.5 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.03092, allocations: 205.5 kB / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/0.0321, allocations: 1.175 MB / 278.8 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.03213, allocations: 45.39 kB / 278.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=53): time 1.483e-06/0.03213, allocations: 4 kB / 278.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001368/0.0335, allocations: 0.726 MB / 279.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.03353, allocations: 85.11 kB / 279.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006892/0.03422, allocations: 0.8431 MB / 280.5 MB, free: 9.395 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.03425, allocations: 37.7 kB / 280.6 MB, free: 9.352 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003572/0.03461, allocations: 0.7678 MB / 281.3 MB, free: 8.574 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.03472, allocations: 206.3 kB / 281.5 MB, free: 8.371 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.03486, allocations: 143.9 kB / 281.7 MB, free: 8.223 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.035, allocations: 0.5199 MB / 282.2 MB, free: 7.695 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004318/0.03543, allocations: 85.19 kB / 282.3 MB, free: 7.613 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.0357, allocations: 323.9 kB / 282.6 MB, free: 7.199 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004561/0.03616, allocations: 462.6 kB / 283.1 MB, free: 6.656 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.03616, allocations: 4 kB / 283.1 MB, free: 6.652 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.000619/0.03678, allocations: 0.5214 MB / 283.6 MB, free: 6.125 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.0368, allocations: 8 kB / 283.6 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.03681, allocations: 4.562 kB / 283.6 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.03683, allocations: 12 kB / 283.6 MB, free: 6.102 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/0.03721, allocations: 175.8 kB / 283.8 MB, free: 5.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.03722, allocations: 11.94 kB / 283.8 MB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.03745, allocations: 75.53 kB / 283.9 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.03748, allocations: 35.92 kB / 283.9 MB, free: 5.809 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.0001887/0.03767, allocations: 192.4 kB / 284.1 MB, free: 5.609 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.03778, allocations: 111.4 kB / 284.2 MB, free: 5.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000537/0.03831, allocations: 408.3 kB / 284.6 MB, free: 5.086 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.03832, allocations: 8 kB / 284.6 MB, free: 5.078 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.03833, allocations: 4 kB / 284.6 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.03833, allocations: 7.984 kB / 284.6 MB, free: 5.066 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.03957, allocations: 1.286 MB / 285.9 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.03957, allocations: 4 kB / 285.9 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.0398, allocations: 91.88 kB / 286 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000352/0.04015, allocations: 143.1 kB / 286.1 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.04019, allocations: 19.98 kB / 286.2 MB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/0.04181, allocations: 2.687 MB / 288.8 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.04182, allocations: 7.969 kB / 288.9 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.04289, allocations: 0.8508 MB / 289.7 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.043, allocations: 107.3 kB / 289.8 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.675e-05/0.04305, allocations: 12 kB / 289.8 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.0433, allocations: 59.94 kB / 289.9 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.927e-05/0.0434, allocations: 55.89 kB / 289.9 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.04342, allocations: 19.98 kB / 290 MB, free: 15.53 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004192/0.04384, allocations: 0.5106 MB / 290.5 MB, free: 15.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.04384, allocations: 3.938 kB / 290.5 MB, free: 15.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005809/0.04442, allocations: 362.8 kB / 290.8 MB, free: 14.66 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.0002179/0.04464, allocations: 143 kB / 291 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004567/0.0451, allocations: 325.1 kB / 291.3 MB, free: 14.19 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.0451, allocations: 4.062 kB / 291.3 MB, free: 14.19 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004878/0.04559, allocations: 446.7 kB / 291.7 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000552/0.04614, allocations: 180 kB / 291.9 MB, free: 13.56 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.04865, allocations: 2.343 MB / 294.2 MB, free: 11.15 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.04893, allocations: 433.7 kB / 294.7 MB, free: 10.7 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002962/0.04923, allocations: 182.5 kB / 294.8 MB, free: 10.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.04934, allocations: 60.5 kB / 294.9 MB, free: 10.46 MB / 282.7 MB Notification: Performance of SimCode: time 6.22e-07/0.04934, allocations: 0 / 294.9 MB, free: 10.46 MB / 282.7 MB Notification: Performance of Templates: time 0.01453/0.06388, allocations: 11.39 MB / 306.3 MB, free: 15.12 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: 3.2118405122309923]