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.002503/0.002503, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.001932/0.001932, allocations: 160.1 kB / 25.03 MB, free: 8.418 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 1.336/1.336, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..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.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 250.4 MB, free: 7.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.851e-05, allocations: 2.312 kB / 250.4 MB, free: 7.848 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.006943/0.006971, allocations: 4.51 MB / 254.9 MB, free: 3.309 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00376/0.01073, allocations: 1.706 MB / 256.6 MB, free: 1.59 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003952/0.01113, allocations: 27.81 kB / 256.6 MB, free: 1.562 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000676/0.0118, allocations: 270.2 kB / 256.9 MB, free: 1.297 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001722/0.01353, allocations: 0.668 MB / 257.5 MB, free: 0.625 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005708/0.0141, allocations: 235.4 kB / 257.8 MB, free: 404 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002566/0.01666, allocations: 1.948 MB / 259.7 MB, free: 14.44 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.01768, allocations: 0.6442 MB / 260.4 MB, free: 13.76 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.01933, allocations: 1.154 MB / 261.5 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00158/0.02091, allocations: 0.9938 MB / 262.5 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003191/0.02123, allocations: 188 kB / 262.7 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009079/0.02214, allocations: 299.8 kB / 263 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006208/0.02276, allocations: 0.5609 MB / 263.5 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009375/0.02369, allocations: 0.6236 MB / 264.2 MB, free: 9.945 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003348/0.02704, allocations: 2.621 MB / 266.8 MB, free: 7.316 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.02705, allocations: 0 / 266.8 MB, free: 7.316 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.02705, allocations: 0 / 266.8 MB, free: 7.316 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.043e-05/0.02709, allocations: 0 / 266.8 MB, free: 7.316 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.005591/0.03268, allocations: 2.406 MB / 269.2 MB, free: 4.867 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.03272, allocations: 15.98 kB / 269.2 MB, free: 4.852 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002124/0.03485, allocations: 0.5345 MB / 269.7 MB, free: 4.316 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002441/0.03729, allocations: 0.8954 MB / 270.6 MB, free: 3.387 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.03739, allocations: 107 kB / 270.7 MB, free: 3.281 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002476/0.03764, allocations: 136.3 kB / 270.9 MB, free: 3.148 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003667/0.04131, allocations: 2.019 MB / 272.9 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.502e-05/0.04134, allocations: 3.938 kB / 272.9 MB, free: 1.055 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/0.04149, allocations: 56 kB / 273 MB, free: 1 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.748e-05/0.04156, allocations: 53.88 kB / 273 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002967/0.04452, allocations: 1.5 MB / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01144/0.05597, allocations: 5.615 MB / 280.1 MB, free: 9.617 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002681/0.05865, allocations: 0.9703 MB / 281.1 MB, free: 8.625 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007643/0.05941, allocations: 413.2 kB / 281.5 MB, free: 8.211 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002958/0.06237, allocations: 1.348 MB / 282.8 MB, free: 6.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/0.06242, allocations: 41.39 kB / 282.9 MB, free: 6.789 MB / 266.7 MB Notification: Performance of pre-optimization done (n=53): time 2.454e-06/0.06242, allocations: 0 / 282.9 MB, free: 6.789 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.003337/0.06576, allocations: 1.151 MB / 284 MB, free: 5.629 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/0.06583, allocations: 85.09 kB / 284.1 MB, free: 5.527 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/0.06788, allocations: 1.124 MB / 285.2 MB, free: 4.387 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.193e-05/0.06796, allocations: 37.7 kB / 285.3 MB, free: 4.344 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007969/0.06876, allocations: 0.8029 MB / 286.1 MB, free: 3.531 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/0.06901, allocations: 210.4 kB / 286.3 MB, free: 3.324 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002768/0.06929, allocations: 159.9 kB / 286.4 MB, free: 3.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003219/0.06961, allocations: 0.5277 MB / 287 MB, free: 2.625 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005766/0.07018, allocations: 285 kB / 287.3 MB, free: 2.344 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008017/0.07099, allocations: 0.5193 MB / 287.8 MB, free: 1.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.07236, allocations: 0.8226 MB / 288.6 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.07237, allocations: 0 / 288.6 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001808/0.07418, allocations: 0.8886 MB / 289.5 MB, free: 15.92 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.0742, allocations: 8 kB / 289.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.07421, allocations: 4 kB / 289.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.07423, allocations: 8 kB / 289.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008064/0.07504, allocations: 179.8 kB / 289.7 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.929e-05/0.07506, allocations: 12.19 kB / 289.7 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000569/0.07563, allocations: 83.47 kB / 289.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.069e-05/0.07569, allocations: 31.98 kB / 289.8 MB, free: 15.6 MB / 282.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.0008574/0.07655, allocations: 0.4884 MB / 290.3 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/0.07677, allocations: 111.4 kB / 290.4 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.07809, allocations: 0.5744 MB / 291 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.0781, allocations: 8 kB / 291 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.07811, allocations: 3.984 kB / 291 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.07812, allocations: 4 kB / 291 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003592/0.08171, allocations: 1.66 MB / 292.6 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.08172, allocations: 4.094 kB / 292.7 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004946/0.08221, allocations: 91.88 kB / 292.7 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006674/0.08288, allocations: 163.5 kB / 292.9 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.557e-05/0.08293, allocations: 19.98 kB / 292.9 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00378/0.08671, allocations: 3.038 MB / 296 MB, free: 9.238 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.13e-05/0.08672, allocations: 11.94 kB / 296 MB, free: 9.227 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/0.08913, allocations: 1.343 MB / 297.3 MB, free: 7.852 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002945/0.08942, allocations: 107.3 kB / 297.4 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.08954, allocations: 19.94 kB / 297.4 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005488/0.09009, allocations: 59.94 kB / 297.5 MB, free: 7.668 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.09025, allocations: 55.89 kB / 297.6 MB, free: 7.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-05/0.09029, allocations: 19.98 kB / 297.6 MB, free: 7.594 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001099/0.09139, allocations: 0.7175 MB / 298.3 MB, free: 6.879 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09139, allocations: 0 / 298.3 MB, free: 6.879 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00136/0.09275, allocations: 366.8 kB / 298.6 MB, free: 6.52 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.0002982/0.09305, allocations: 147 kB / 298.8 MB, free: 6.367 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.09441, allocations: 0.664 MB / 299.5 MB, free: 5.699 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.09441, allocations: 0 / 299.5 MB, free: 5.699 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.09555, allocations: 0.5885 MB / 300 MB, free: 5.094 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000939/0.09649, allocations: 168.8 kB / 300.2 MB, free: 4.934 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004466/0.101, allocations: 2.542 MB / 302.7 MB, free: 2.324 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.102, allocations: 0.8269 MB / 303.6 MB, free: 1.465 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005329/0.1025, allocations: 174.5 kB / 303.7 MB, free: 1.289 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.1027, allocations: 64.48 kB / 303.8 MB, free: 1.227 MB / 282.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1027, allocations: 0 / 303.8 MB, free: 1.227 MB / 282.7 MB Notification: Performance of Templates: time 0.02418/0.1269, allocations: 11.38 MB / 315.2 MB, free: 5.883 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.759174017002806]