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.0009666/0.0009666, allocations: 80.92 kB / 22.29 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.001028/0.001028, allocations: 167 kB / 25.7 MB, free: 8.402 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.9343/0.9343, allocations: 158.6 MB / 187.6 MB, free: 2.773 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.393e-06/1.393e-06, allocations: 0 / 251.6 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.09e-05, allocations: 10.25 kB / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.004061/0.004082, allocations: 4.526 MB / 256.1 MB, free: 2.684 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.006273, allocations: 1.76 MB / 257.9 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002222/0.006495, allocations: 27.81 kB / 257.9 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004934/0.006988, allocations: 274.1 kB / 258.1 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001/0.007989, allocations: 0.6641 MB / 258.8 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.008308, allocations: 239.3 kB / 259 MB, free: 15.71 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001474/0.009782, allocations: 1.957 MB / 261 MB, free: 13.75 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005683/0.01035, allocations: 0.6637 MB / 261.7 MB, free: 13.03 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009192/0.01127, allocations: 1.287 MB / 263 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.01246, allocations: 1.052 MB / 264 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.01262, allocations: 184 kB / 264.2 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000374/0.013, allocations: 299.7 kB / 264.5 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003045/0.0133, allocations: 0.5647 MB / 265 MB, free: 9.648 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004073/0.01371, allocations: 0.6236 MB / 265.7 MB, free: 9.023 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.0148, allocations: 1.593 MB / 267.3 MB, free: 7.426 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.01481, allocations: 0 / 267.3 MB, free: 7.426 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01481, allocations: 0 / 267.3 MB, free: 7.426 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.01482, allocations: 4 kB / 267.3 MB, free: 7.422 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.002239/0.01706, allocations: 1.956 MB / 269.2 MB, free: 5.434 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.01709, allocations: 11.98 kB / 269.2 MB, free: 5.422 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009474/0.01804, allocations: 428.3 kB / 269.6 MB, free: 5.004 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006701/0.01871, allocations: 0.5829 MB / 270.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.898e-05/0.01877, allocations: 103 kB / 270.3 MB, free: 4.289 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.0189, allocations: 136.3 kB / 270.5 MB, free: 4.156 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.02029, allocations: 1.163 MB / 271.6 MB, free: 2.926 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.02031, allocations: 3.938 kB / 271.6 MB, free: 2.922 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.977e-05/0.02039, allocations: 52 kB / 271.7 MB, free: 2.871 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.416e-05/0.02044, allocations: 50 kB / 271.7 MB, free: 2.824 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004913/0.02093, allocations: 326.9 kB / 272 MB, free: 2.504 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003555/0.02448, allocations: 3.507 MB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008623/0.02535, allocations: 0.5761 MB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.0255, allocations: 162.8 kB / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009765/0.02648, allocations: 0.8715 MB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.02651, allocations: 46.5 kB / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=53): time 1.854e-06/0.02651, allocations: 4 kB / 277.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001342/0.02785, allocations: 0.5665 MB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.02788, allocations: 85.11 kB / 277.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004331/0.02832, allocations: 0.6441 MB / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.02835, allocations: 37.7 kB / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.02857, allocations: 0.5717 MB / 279.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.329e-05/0.02866, allocations: 206.3 kB / 279.3 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.02879, allocations: 118.2 kB / 279.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.403e-05/0.02886, allocations: 333.8 kB / 279.8 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.91e-05/0.02895, allocations: 57.28 kB / 279.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.02911, allocations: 225.6 kB / 280 MB, free: 10.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003106/0.02942, allocations: 351.1 kB / 280.4 MB, free: 9.711 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.02942, allocations: 8 kB / 280.4 MB, free: 9.703 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0004065/0.02983, allocations: 367.1 kB / 280.7 MB, free: 9.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.02984, allocations: 8 kB / 280.8 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.02985, allocations: 8 kB / 280.8 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.02987, allocations: 8 kB / 280.8 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/0.03033, allocations: 219.6 kB / 281 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.03034, allocations: 8 kB / 281 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.03054, allocations: 67.5 kB / 281.1 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.03056, allocations: 20 kB / 281.1 MB, free: 9.008 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.0001693/0.03073, allocations: 156.4 kB / 281.2 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.791e-05/0.03082, allocations: 71.92 kB / 281.3 MB, free: 8.773 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000405/0.03123, allocations: 344.4 kB / 281.6 MB, free: 8.426 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.03123, allocations: 4 kB / 281.6 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.03124, allocations: 7.984 kB / 281.6 MB, free: 8.414 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.03124, allocations: 0 / 281.6 MB, free: 8.414 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008059/0.03205, allocations: 0.7849 MB / 282.4 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.03205, allocations: 4 kB / 282.4 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.0323, allocations: 107.8 kB / 282.5 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002606/0.03256, allocations: 130.6 kB / 282.7 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/0.0326, allocations: 15.98 kB / 282.7 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/0.03415, allocations: 2.038 MB / 284.7 MB, free: 5.207 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.03415, allocations: 4 kB / 284.7 MB, free: 5.203 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005764/0.03473, allocations: 0.6187 MB / 285.3 MB, free: 4.559 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.773e-05/0.03482, allocations: 99.23 kB / 285.4 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.413e-05/0.03488, allocations: 19.98 kB / 285.5 MB, free: 4.441 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.0351, allocations: 36.05 kB / 285.5 MB, free: 4.406 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.814e-05/0.03517, allocations: 47.91 kB / 285.5 MB, free: 4.359 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.0352, allocations: 15.98 kB / 285.6 MB, free: 4.344 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002334/0.03543, allocations: 312.5 kB / 285.9 MB, free: 4.039 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.03543, allocations: 4 kB / 285.9 MB, free: 4.035 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005476/0.03598, allocations: 366.8 kB / 286.2 MB, free: 3.676 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.0001693/0.03615, allocations: 108.3 kB / 286.3 MB, free: 3.562 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003095/0.03646, allocations: 277 kB / 286.6 MB, free: 3.285 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/0.03647, allocations: 15.98 kB / 286.6 MB, free: 3.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003998/0.03687, allocations: 342.1 kB / 286.9 MB, free: 2.926 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.03735, allocations: 175.8 kB / 287.1 MB, free: 2.758 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.03957, allocations: 2.205 MB / 289.3 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.03983, allocations: 361.8 kB / 289.7 MB, free: 120 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002295/0.04006, allocations: 110.7 kB / 289.8 MB, free: 4 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003427/0.0404, allocations: 221.2 kB / 290 MB, free: 15.79 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.0404, allocations: 0 / 290 MB, free: 15.79 MB / 282.7 MB Notification: Performance of Templates: time 0.01544/0.05584, allocations: 12.21 MB / 302.2 MB, free: 3.605 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 -s gbode -gbm=radauIIA3 -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.897270029876381]