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.001236/0.001236, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001264/0.001264, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.431/1.431, allocations: 230.4 MB / 255.4 MB, free: 15.02 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.002045/0.002045, allocations: 67.84 kB / 374.8 MB, free: 9.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09301/0.09505, allocations: 53.32 MB / 428.1 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.1988/0.2939, allocations: 10.05 MB / 438.1 MB, free: 6.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00657/0.3005, allocations: 3.394 MB / 441.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002146/0.3026, allocations: 74.94 kB / 441.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00849/0.3111, allocations: 3.866 MB / 445.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005425/0.3165, allocations: 1.497 MB / 447 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002793/0.3193, allocations: 1.052 MB / 448 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01292/0.3322, allocations: 9.262 MB / 457.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02581/0.3581, allocations: 15.81 MB / 473.1 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00948/0.3675, allocations: 5.074 MB / 478.2 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01235/0.3799, allocations: 6.145 MB / 484.3 MB, free: 8.438 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004347/0.3842, allocations: 1.402 MB / 485.7 MB, free: 7.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00633/0.3906, allocations: 1.656 MB / 487.4 MB, free: 5.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005047/0.3956, allocations: 2.934 MB / 490.3 MB, free: 2.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01041/0.406, allocations: 5.447 MB / 495.7 MB, free: 12.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02426/0.4303, allocations: 18.91 MB / 0.5026 GB, free: 10 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.4303, allocations: 0 / 0.5026 GB, free: 10 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4303, allocations: 0 / 0.5026 GB, free: 10 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004109/0.4307, allocations: 0 / 0.5026 GB, free: 10 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.03746/0.4682, allocations: 12.46 MB / 0.5148 GB, free: 13.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.4682, allocations: 8.031 kB / 0.5148 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04965/0.5179, allocations: 8.417 MB / 0.523 GB, free: 5.008 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01423/0.5321, allocations: 5.923 MB / 0.5288 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007247/0.5328, allocations: 0.6633 MB / 0.5294 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003834/0.5366, allocations: 0.8593 MB / 0.5303 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03799/0.5746, allocations: 16.02 MB / 0.5459 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002843/0.5749, allocations: 15.89 kB / 0.5459 GB, free: 13.42 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002183/0.5771, allocations: 368 kB / 0.5463 GB, free: 13.06 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005982/0.5777, allocations: 0.5543 MB / 0.5468 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03126/0.609, allocations: 15.77 MB / 0.5622 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08064/0.6896, allocations: 48.69 MB / 0.6098 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4034/1.093, allocations: 18.86 MB / 0.6282 GB, free: 140.7 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005873/1.099, allocations: 3.248 MB / 0.6313 GB, free: 140.4 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005001/1.099, allocations: 296.1 kB / 0.6316 GB, free: 140.2 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.666e-05/1.099, allocations: 86.08 kB / 0.6317 GB, free: 140.1 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=468): time 5.951e-06/1.099, allocations: 0.625 kB / 0.6317 GB, free: 140.1 MB / 0.5138 GB Notification: Performance of matching and sorting (n=468): time 0.02544/1.125, allocations: 11.56 MB / 0.643 GB, free: 136.3 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.25e-05/1.125, allocations: 129.3 kB / 0.6431 GB, free: 136.2 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007009/1.132, allocations: 3.851 MB / 0.6469 GB, free: 135 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008947/1.133, allocations: 101.8 kB / 0.647 GB, free: 134.9 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002378/1.135, allocations: 4.047 MB / 0.6509 GB, free: 132.6 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002058/1.137, allocations: 1.688 MB / 0.6526 GB, free: 131.5 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00281/1.14, allocations: 1.494 MB / 0.654 GB, free: 130.8 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.183e-05/1.14, allocations: 301.1 kB / 0.6543 GB, free: 130.5 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005201/1.145, allocations: 3.697 MB / 0.6579 GB, free: 129.2 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006637/1.152, allocations: 6.526 MB / 0.6643 GB, free: 124.2 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01068/1.163, allocations: 10.86 MB / 0.6749 GB, free: 117.1 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.191e-05/1.163, allocations: 26.91 kB / 0.6749 GB, free: 117.1 MB / 0.5138 GB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01919/1.182, allocations: 11.96 MB / 0.6866 GB, free: 111.1 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.717e-05/1.182, allocations: 51.73 kB / 0.6867 GB, free: 111 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001266/1.182, allocations: 92 kB / 0.6867 GB, free: 110.9 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004442/1.187, allocations: 1.617 MB / 0.6883 GB, free: 109.5 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005702/1.192, allocations: 1.677 MB / 0.69 GB, free: 107.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0156/1.208, allocations: 17.67 MB / 0.7072 GB, free: 89.31 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00619/1.214, allocations: 0.9664 MB / 0.7082 GB, free: 88.34 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001524/1.216, allocations: 371.9 kB / 0.7085 GB, free: 87.98 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.006718/1.222, allocations: 3.75 MB / 0.7122 GB, free: 84.21 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000932/1.223, allocations: 417.3 kB / 0.7126 GB, free: 83.8 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/1.236, allocations: 8.522 MB / 0.7209 GB, free: 75.19 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-05/1.236, allocations: 55.92 kB / 0.721 GB, free: 75.14 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-05/1.236, allocations: 12 kB / 0.721 GB, free: 75.12 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.217e-05/1.236, allocations: 27.84 kB / 0.721 GB, free: 75.1 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02575/1.262, allocations: 16.8 MB / 0.7374 GB, free: 58.27 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/1.262, allocations: 4 kB / 0.7374 GB, free: 58.27 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003311/1.266, allocations: 0.8659 MB / 0.7383 GB, free: 57.4 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004316/1.27, allocations: 1.516 MB / 0.7397 GB, free: 55.86 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006536/1.271, allocations: 114.1 kB / 0.7398 GB, free: 55.75 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01477/1.285, allocations: 17.46 MB / 0.7569 GB, free: 37.47 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.285, allocations: 4 kB / 0.7569 GB, free: 37.47 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01605/1.301, allocations: 12.25 MB / 0.7689 GB, free: 25 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002087/1.303, allocations: 1.126 MB / 0.77 GB, free: 23.86 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005348/1.304, allocations: 84 kB / 0.77 GB, free: 23.77 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002234/1.306, allocations: 299.6 kB / 0.7703 GB, free: 23.48 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006722/1.307, allocations: 319.7 kB / 0.7706 GB, free: 23.17 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002604/1.307, allocations: 148 kB / 0.7708 GB, free: 23.02 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003006/1.31, allocations: 2.574 MB / 0.7733 GB, free: 20.45 MB / 0.5138 GB Notification: Performance of sort global known variables: time 7e-08/1.31, allocations: 0 / 0.7733 GB, free: 20.45 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006671/1.317, allocations: 2.403 MB / 0.7756 GB, free: 18.04 MB / 0.5138 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.0008031/1.318, allocations: 275.5 kB / 0.7759 GB, free: 17.77 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0126/1.33, allocations: 9.011 MB / 0.7847 GB, free: 8.656 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.062e-05/1.33, allocations: 4.062 kB / 0.7847 GB, free: 8.652 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.006488/1.337, allocations: 4.185 MB / 0.7888 GB, free: 4.387 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003928/1.341, allocations: 0.7429 MB / 0.7895 GB, free: 3.656 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03227/1.373, allocations: 16.88 MB / 0.806 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009685/1.383, allocations: 5.931 MB / 0.8118 GB, free: 12.72 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0025/1.385, allocations: 475.3 kB / 0.8122 GB, free: 12.25 MB / 0.545 GB Notification: Performance of SimCode: time 1.673e-06/1.385, allocations: 0 / 0.8122 GB, free: 12.25 MB / 0.545 GB Notification: Performance of Templates: time 0.8333/2.218, allocations: 420.1 MB / 1.222 GB, free: 38.84 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: 16.555435681017116]