Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, allocations: 115 kB / 21.17 MB, free: 0.7812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001437/0.001437, allocations: 219.6 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.382/1.382, allocations: 230.4 MB / 258.1 MB, free: 8.16 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 71.83 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2363, allocations: 53.32 MB / 432.1 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01171/0.248, allocations: 10.07 MB / 442.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007112/0.2551, allocations: 3.419 MB / 445.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.2562, allocations: 67.81 kB / 445.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008459/0.2647, allocations: 3.867 MB / 449.5 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004138/0.2688, allocations: 1.511 MB / 451 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002688/0.2715, allocations: 1.055 MB / 452 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0122/0.2837, allocations: 9.274 MB / 461.3 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0186/0.3023, allocations: 12.22 MB / 473.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007383/0.3097, allocations: 5.074 MB / 478.6 MB, free: 8.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01037/0.3201, allocations: 6.157 MB / 484.8 MB, free: 2.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004026/0.3241, allocations: 1.395 MB / 486.2 MB, free: 1.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005321/0.3294, allocations: 1.656 MB / 487.8 MB, free: 15.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004682/0.3341, allocations: 2.934 MB / 490.8 MB, free: 12.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009823/0.3439, allocations: 5.447 MB / 496.2 MB, free: 6.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02294/0.3669, allocations: 18.91 MB / 0.503 GB, free: 3.984 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.3669, allocations: 0 / 0.503 GB, free: 3.984 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3669, allocations: 3.938 kB / 0.503 GB, free: 3.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005567/0.3674, allocations: 3.938 kB / 0.503 GB, free: 3.977 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03791/0.4053, allocations: 12.45 MB / 0.5152 GB, free: 7.434 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.4054, allocations: 12.03 kB / 0.5152 GB, free: 7.422 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04913/0.4545, allocations: 8.421 MB / 0.5234 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01568/0.4702, allocations: 5.915 MB / 0.5292 GB, free: 9.004 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007905/0.471, allocations: 0.6623 MB / 0.5299 GB, free: 8.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004025/0.475, allocations: 0.871 MB / 0.5307 GB, free: 7.469 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4241/0.8991, allocations: 16.02 MB / 0.5463 GB, free: 81.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002705/0.8993, allocations: 11.02 kB / 0.5464 GB, free: 81.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001855/0.9012, allocations: 366.2 kB / 0.5467 GB, free: 81.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000452/0.9017, allocations: 0.5558 MB / 0.5473 GB, free: 81.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02501/0.9267, allocations: 15.77 MB / 0.5627 GB, free: 75.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0631/0.9898, allocations: 48.68 MB / 0.6102 GB, free: 26.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01384/1.004, allocations: 18.87 MB / 0.6286 GB, free: 5.668 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004115/1.008, allocations: 3.246 MB / 0.6318 GB, free: 2.422 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003522/1.008, allocations: 300.6 kB / 0.6321 GB, free: 2.121 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.092e-05/1.008, allocations: 86.5 kB / 0.6322 GB, free: 2.027 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 7.194e-06/1.008, allocations: 0 / 0.6322 GB, free: 2.027 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02325/1.031, allocations: 11.56 MB / 0.6435 GB, free: 6.332 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.759e-05/1.031, allocations: 129.1 kB / 0.6436 GB, free: 6.188 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006092/1.038, allocations: 3.848 MB / 0.6473 GB, free: 2.395 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008428/1.038, allocations: 101.7 kB / 0.6474 GB, free: 2.289 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002977/1.041, allocations: 4.047 MB / 0.6514 GB, free: 14.68 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002135/1.044, allocations: 1.688 MB / 0.653 GB, free: 12.98 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002397/1.046, allocations: 1.489 MB / 0.6545 GB, free: 11.49 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/1.046, allocations: 301.1 kB / 0.6548 GB, free: 11.19 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005727/1.052, allocations: 3.699 MB / 0.6584 GB, free: 7.488 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008487/1.06, allocations: 6.531 MB / 0.6648 GB, free: 15.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01566/1.076, allocations: 10.85 MB / 0.6754 GB, free: 3.477 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.471e-05/1.076, allocations: 31.75 kB / 0.6754 GB, free: 3.449 MB / 494.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02397/1.1, allocations: 11.96 MB / 0.6871 GB, free: 7.418 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 9.32e-05/1.1, allocations: 50.75 kB / 0.6871 GB, free: 7.371 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001402/1.1, allocations: 92 kB / 0.6872 GB, free: 7.281 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005199/1.105, allocations: 1.617 MB / 0.6888 GB, free: 5.645 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006575/1.112, allocations: 1.681 MB / 0.6904 GB, free: 3.961 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02171/1.134, allocations: 17.68 MB / 0.7077 GB, free: 1.438 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006092/1.14, allocations: 0.9625 MB / 0.7086 GB, free: 480 kB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001446/1.141, allocations: 371.9 kB / 0.709 GB, free: 108 kB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007417/1.149, allocations: 3.754 MB / 0.7126 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009465/1.15, allocations: 417.3 kB / 0.713 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01661/1.166, allocations: 8.522 MB / 0.7214 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.387e-05/1.166, allocations: 51.94 kB / 0.7214 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.941e-05/1.166, allocations: 12 kB / 0.7214 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001102/1.166, allocations: 23.91 kB / 0.7215 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03483/1.201, allocations: 16.79 MB / 0.7378 GB, free: 2.266 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-05/1.201, allocations: 4 kB / 0.7379 GB, free: 2.262 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003878/1.205, allocations: 0.8659 MB / 0.7387 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004981/1.21, allocations: 1.514 MB / 0.7402 GB, free: 15.86 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009129/1.211, allocations: 108 kB / 0.7403 GB, free: 15.75 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2601/1.471, allocations: 17.48 MB / 0.7573 GB, free: 188.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/1.471, allocations: 10.59 kB / 0.7574 GB, free: 188.1 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02082/1.492, allocations: 12.25 MB / 0.7693 GB, free: 185.4 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003035/1.495, allocations: 1.124 MB / 0.7704 GB, free: 185 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008651/1.496, allocations: 87.44 kB / 0.7705 GB, free: 184.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002649/1.499, allocations: 298.6 kB / 0.7708 GB, free: 184.9 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006354/1.499, allocations: 322.6 kB / 0.7711 GB, free: 184.8 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002653/1.499, allocations: 140 kB / 0.7712 GB, free: 184.8 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.003314/1.503, allocations: 2.574 MB / 0.7737 GB, free: 183.9 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1e-07/1.503, allocations: 1.219 kB / 0.7737 GB, free: 183.9 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006849/1.51, allocations: 2.408 MB / 0.7761 GB, free: 183.4 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_p.reference.gamma) * 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 (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007979/1.51, allocations: 275.3 kB / 0.7764 GB, free: 183.3 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01306/1.523, allocations: 9.012 MB / 0.7852 GB, free: 179.7 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/1.523, allocations: 0 / 0.7852 GB, free: 179.7 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006752/1.53, allocations: 4.185 MB / 0.7892 GB, free: 177.8 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005286/1.536, allocations: 0.7309 MB / 0.79 GB, free: 177.5 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02654/1.562, allocations: 17.05 MB / 0.8066 GB, free: 163.2 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005111/1.567, allocations: 5.93 MB / 0.8124 GB, free: 158.6 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001999/1.569, allocations: 469.4 kB / 0.8128 GB, free: 158.2 MB / 0.5607 GB Notification: Performance of SimCode: time 1.273e-06/1.569, allocations: 0 / 0.8128 GB, free: 158.2 MB / 0.5607 GB Notification: Performance of Templates: time 0.8346/2.404, allocations: 420.1 MB / 1.223 GB, free: 175.5 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.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: 17.06676884740591]