Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.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.001791/0.001791, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.002213/0.002213, allocations: 214.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.442/1.442, allocations: 230.6 MB / 257.5 MB, free: 8.016 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+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.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_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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 47.94 kB / 378.3 MB, free: 2.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2303, allocations: 53.37 MB / 431.6 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01278/0.2431, allocations: 10.06 MB / 441.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007277/0.2503, allocations: 3.431 MB / 445.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.2516, allocations: 79.62 kB / 445.2 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009361/0.2609, allocations: 3.888 MB / 449.1 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004736/0.2657, allocations: 1.571 MB / 450.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002612/0.2683, allocations: 1.062 MB / 451.7 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01151/0.2798, allocations: 9.351 MB / 461.1 MB, free: 9.348 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02012/0.2999, allocations: 12.96 MB / 474 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007153/0.3071, allocations: 5.179 MB / 479.2 MB, free: 7.059 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009907/0.317, allocations: 6.165 MB / 485.4 MB, free: 0.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003371/0.3203, allocations: 1.398 MB / 486.8 MB, free: 15.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004307/0.3247, allocations: 1.652 MB / 488.4 MB, free: 13.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003419/0.3281, allocations: 2.93 MB / 491.4 MB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01004/0.3381, allocations: 5.451 MB / 496.8 MB, free: 5.414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02187/0.36, allocations: 18.91 MB / 0.5036 GB, free: 2.445 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.36, allocations: 0 / 0.5036 GB, free: 2.445 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.36, allocations: 0 / 0.5036 GB, free: 2.445 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003665/0.3604, allocations: 4 kB / 0.5036 GB, free: 2.441 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.03484/0.3952, allocations: 12.37 MB / 0.5157 GB, free: 5.992 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.3953, allocations: 8.031 kB / 0.5157 GB, free: 5.984 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04962/0.4449, allocations: 8.421 MB / 0.524 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01428/0.4592, allocations: 6.031 MB / 0.5299 GB, free: 7.453 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006474/0.4598, allocations: 0.6623 MB / 0.5305 GB, free: 6.789 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00304/0.4628, allocations: 0.8671 MB / 0.5313 GB, free: 5.922 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4103/0.8732, allocations: 16.02 MB / 0.547 GB, free: 81.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002609/0.8734, allocations: 10.89 kB / 0.547 GB, free: 81.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001615/0.875, allocations: 363 kB / 0.5473 GB, free: 80.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003856/0.8754, allocations: 0.5605 MB / 0.5479 GB, free: 80.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02384/0.8993, allocations: 15.77 MB / 0.5633 GB, free: 73.81 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05874/0.958, allocations: 46.69 MB / 0.6089 GB, free: 27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01214/0.9701, allocations: 8.509 MB / 0.6172 GB, free: 18.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003871/0.974, allocations: 3.25 MB / 0.6204 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003654/0.9744, allocations: 146.2 kB / 0.6205 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.567e-05/0.9744, allocations: 86.56 kB / 0.6206 GB, free: 15.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 6.011e-06/0.9744, allocations: 0 / 0.6206 GB, free: 15.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.01905/0.9935, allocations: 11.11 MB / 0.6314 GB, free: 4.379 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.9935, allocations: 125.1 kB / 0.6316 GB, free: 4.238 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004631/0.9982, allocations: 3.843 MB / 0.6353 GB, free: 464 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005461/0.9987, allocations: 105.7 kB / 0.6354 GB, free: 352 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002807/1.002, allocations: 4.051 MB / 0.6394 GB, free: 12.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002021/1.004, allocations: 1.689 MB / 0.641 GB, free: 11.03 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002358/1.006, allocations: 1.496 MB / 0.6425 GB, free: 9.523 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/1.006, allocations: 301.1 kB / 0.6428 GB, free: 9.227 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005885/1.012, allocations: 3.691 MB / 0.6464 GB, free: 5.531 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008426/1.02, allocations: 6.535 MB / 0.6527 GB, free: 13.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01513/1.035, allocations: 10.85 MB / 0.6633 GB, free: 1.512 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.377e-05/1.036, allocations: 31.94 kB / 0.6634 GB, free: 1.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02296/1.059, allocations: 11.96 MB / 0.6751 GB, free: 5.445 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.229e-05/1.059, allocations: 44 kB / 0.6751 GB, free: 5.402 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001298/1.059, allocations: 99.94 kB / 0.6752 GB, free: 5.305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004915/1.064, allocations: 1.617 MB / 0.6768 GB, free: 3.668 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006549/1.07, allocations: 1.677 MB / 0.6784 GB, free: 1.988 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02282/1.093, allocations: 17.06 MB / 0.6951 GB, free: 248 kB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006907/1.1, allocations: 0.9665 MB / 0.696 GB, free: 15.27 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001186/1.101, allocations: 364 kB / 0.6964 GB, free: 14.91 MB / 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.007047/1.108, allocations: 3.76 MB / 0.7 GB, free: 11.14 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008874/1.109, allocations: 417.2 kB / 0.7004 GB, free: 10.73 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01646/1.126, allocations: 8.526 MB / 0.7087 GB, free: 2.113 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-05/1.126, allocations: 55.94 kB / 0.7088 GB, free: 2.059 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.016e-05/1.126, allocations: 12 kB / 0.7088 GB, free: 2.047 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.382e-05/1.126, allocations: 23.91 kB / 0.7088 GB, free: 2.023 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03414/1.16, allocations: 16.86 MB / 0.7253 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.969e-05/1.16, allocations: 0 / 0.7253 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003934/1.164, allocations: 0.8698 MB / 0.7261 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00498/1.169, allocations: 1.514 MB / 0.7276 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009164/1.17, allocations: 112 kB / 0.7277 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2789/1.449, allocations: 16.84 MB / 0.7442 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.449, allocations: 14 kB / 0.7442 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0174/1.466, allocations: 12.25 MB / 0.7562 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002881/1.469, allocations: 1.09 MB / 0.7572 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007975/1.47, allocations: 87.58 kB / 0.7573 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002408/1.472, allocations: 296.6 kB / 0.7576 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006709/1.473, allocations: 347.7 kB / 0.7579 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002654/1.473, allocations: 148.6 kB / 0.7581 GB, free: 168.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00308/1.476, allocations: 2.57 MB / 0.7606 GB, free: 168 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.476, allocations: 0 / 0.7606 GB, free: 168 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007681/1.484, allocations: 2.404 MB / 0.7629 GB, free: 167.6 MB / 0.545 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.0008191/1.485, allocations: 270.2 kB / 0.7632 GB, free: 167.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0132/1.498, allocations: 9.017 MB / 0.772 GB, free: 163.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/1.498, allocations: 3.938 kB / 0.772 GB, free: 163.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007086/1.505, allocations: 4.189 MB / 0.7761 GB, free: 161.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004104/1.509, allocations: 0.7356 MB / 0.7768 GB, free: 161.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02749/1.536, allocations: 17.08 MB / 0.7935 GB, free: 147.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005174/1.542, allocations: 6.044 MB / 0.7994 GB, free: 142.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006071/1.548, allocations: 3.254 MB / 0.8025 GB, free: 139.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/1.549, allocations: 399.3 kB / 0.8029 GB, free: 139.5 MB / 0.545 GB Notification: Performance of SimCode: time 9.92e-07/1.549, allocations: 0 / 0.8029 GB, free: 139.5 MB / 0.545 GB Notification: Performance of Templates: time 0.1079/1.657, allocations: 72.71 MB / 0.8739 GB, free: 67.16 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.42771826684475]