Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001465/0.001465, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001589/0.001589, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.406e-05, allocations: 2.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01302/0.01304, allocations: 8.729 MB / 280.9 MB, free: 9.023 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007686/0.02073, allocations: 3.264 MB / 284.2 MB, free: 5.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00167/0.0224, allocations: 87.56 kB / 284.3 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0104/0.03279, allocations: 3.783 MB / 288.1 MB, free: 1.863 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005096/0.03789, allocations: 1.527 MB / 289.6 MB, free: 336 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1199/0.1578, allocations: 1.019 MB / 290.6 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009216/0.167, allocations: 9.632 MB / 300.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01633/0.1834, allocations: 12.86 MB / 313.1 MB, free: 4.742 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01052/0.1939, allocations: 7.505 MB / 320.6 MB, free: 14.22 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01039/0.2043, allocations: 5.508 MB / 326.1 MB, free: 9.051 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003389/0.2077, allocations: 1.398 MB / 327.5 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005806/0.2135, allocations: 1.645 MB / 329.2 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004321/0.2178, allocations: 2.986 MB / 332.2 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009937/0.2277, allocations: 3.676 MB / 335.8 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02584/0.2536, allocations: 19.2 MB / 355 MB, free: 13.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.2536, allocations: 0 / 355 MB, free: 13.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2536, allocations: 0 / 355 MB, free: 13.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004549/0.254, allocations: 0 / 355 MB, free: 13.07 MB / 314.7 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.03915/0.2932, allocations: 12.3 MB / 367.3 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.2932, allocations: 15.98 kB / 367.3 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05443/0.3477, allocations: 10.02 MB / 377.4 MB, free: 6.883 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0165/0.3642, allocations: 6.206 MB / 383.6 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009034/0.3651, allocations: 0.6622 MB / 384.2 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004153/0.3692, allocations: 0.8695 MB / 385.1 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04211/0.4114, allocations: 16.27 MB / 401.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003735/0.4117, allocations: 16.5 kB / 401.4 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002928/0.4147, allocations: 367.8 kB / 401.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000779/0.4154, allocations: 0.5582 MB / 402.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03659/0.452, allocations: 15.69 MB / 418 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3304/0.7824, allocations: 42.87 MB / 460.9 MB, free: 74.29 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0147/0.7971, allocations: 8.48 MB / 469.3 MB, free: 71.8 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004926/0.802, allocations: 3.242 MB / 472.6 MB, free: 70.66 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005307/0.8025, allocations: 145.4 kB / 472.7 MB, free: 70.64 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.227e-05/0.8026, allocations: 84.66 kB / 472.8 MB, free: 70.57 MB / 378.8 MB Notification: Performance of pre-optimization done (n=468): time 7.925e-06/0.8026, allocations: 0 / 472.8 MB, free: 70.57 MB / 378.8 MB Notification: Performance of matching and sorting (n=468): time 0.02209/0.8247, allocations: 11.26 MB / 484.1 MB, free: 65.63 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.8248, allocations: 128.5 kB / 484.2 MB, free: 65.54 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004787/0.8295, allocations: 3.967 MB / 488.2 MB, free: 62.59 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007834/0.8303, allocations: 102.5 kB / 488.3 MB, free: 62.48 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001848/0.8322, allocations: 4.019 MB / 492.3 MB, free: 59.11 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00157/0.8338, allocations: 1.667 MB / 493.9 MB, free: 57.66 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001929/0.8357, allocations: 1.477 MB / 495.4 MB, free: 56.18 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.582e-05/0.8357, allocations: 301.1 kB / 495.7 MB, free: 55.88 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004242/0.84, allocations: 3.699 MB / 499.4 MB, free: 52.18 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005265/0.8452, allocations: 6.528 MB / 0.4941 GB, free: 44.39 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/0.8554, allocations: 10.85 MB / 0.5047 GB, free: 32.59 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001162/0.8555, allocations: 31.66 kB / 0.5047 GB, free: 32.57 MB / 378.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01996/0.8755, allocations: 12.3 MB / 0.5167 GB, free: 20.82 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001684/0.8757, allocations: 44 kB / 0.5168 GB, free: 20.78 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000209/0.8759, allocations: 96.16 kB / 0.5169 GB, free: 20.69 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006054/0.8819, allocations: 1.902 MB / 0.5187 GB, free: 18.77 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006116/0.8881, allocations: 1.672 MB / 0.5204 GB, free: 17.21 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01659/0.9046, allocations: 16.79 MB / 0.5367 GB, free: 15.95 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006453/0.9111, allocations: 0.9624 MB / 0.5377 GB, free: 14.99 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001782/0.9129, allocations: 371.9 kB / 0.538 GB, free: 14.62 MB / 394.8 MB 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.008945/0.9218, allocations: 3.755 MB / 0.5417 GB, free: 10.97 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002303/0.9241, allocations: 0.5443 MB / 0.5422 GB, free: 10.43 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02172/0.9458, allocations: 8.529 MB / 0.5506 GB, free: 1.809 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.36e-05/0.9459, allocations: 48 kB / 0.5506 GB, free: 1.762 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.036e-05/0.946, allocations: 12 kB / 0.5506 GB, free: 1.75 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001032/0.9461, allocations: 23.91 kB / 0.5506 GB, free: 1.727 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04284/0.9889, allocations: 14.9 MB / 0.5652 GB, free: 2.812 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.263e-05/0.989, allocations: 4 kB / 0.5652 GB, free: 2.809 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004406/0.9934, allocations: 0.8698 MB / 0.566 GB, free: 1.938 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007455/1.001, allocations: 1.791 MB / 0.5678 GB, free: 132 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001134/1.002, allocations: 108 kB / 0.5679 GB, free: 24 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1939/1.196, allocations: 16.57 MB / 0.5841 GB, free: 136.1 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.196, allocations: 4.375 kB / 0.5841 GB, free: 136.1 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02222/1.218, allocations: 12.4 MB / 0.5962 GB, free: 134 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002955/1.221, allocations: 1.08 MB / 0.5973 GB, free: 133.7 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009242/1.222, allocations: 83.5 kB / 0.5973 GB, free: 133.6 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002686/1.225, allocations: 300.5 kB / 0.5976 GB, free: 133.5 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007561/1.225, allocations: 347.5 kB / 0.598 GB, free: 133.5 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002923/1.226, allocations: 144.3 kB / 0.5981 GB, free: 133.5 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.003846/1.23, allocations: 2.541 MB / 0.6006 GB, free: 132.6 MB / 426.8 MB Notification: Performance of sort global known variables: time 4e-07/1.23, allocations: 0.6562 kB / 0.6006 GB, free: 132.6 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.008811/1.238, allocations: 2.407 MB / 0.6029 GB, free: 132.1 MB / 426.8 MB 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.001245/1.24, allocations: 268.7 kB / 0.6032 GB, free: 132 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01396/1.254, allocations: 9.012 MB / 0.612 GB, free: 128.4 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.254, allocations: 3.906 kB / 0.612 GB, free: 128.4 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007344/1.261, allocations: 4.19 MB / 0.6161 GB, free: 126.5 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005713/1.267, allocations: 0.7471 MB / 0.6168 GB, free: 126.3 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03221/1.299, allocations: 17.23 MB / 0.6336 GB, free: 111.9 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009448/1.308, allocations: 5.587 MB / 0.6391 GB, free: 107.7 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.008222/1.317, allocations: 3.291 MB / 0.6423 GB, free: 105.5 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00211/1.319, allocations: 400.4 kB / 0.6427 GB, free: 105.1 MB / 426.8 MB Notification: Performance of SimCode: time 1.613e-06/1.319, allocations: 0 / 0.6427 GB, free: 105.1 MB / 426.8 MB Notification: Performance of Templates: time 0.08947/1.408, allocations: 62.38 MB / 0.7036 GB, free: 43.27 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.24202097102534]