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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=20000,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=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00179/0.00179, allocations: 116.5 kB / 18.45 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002054/0.002054, allocations: 211.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.452/1.452, allocations: 227.7 MB / 247.9 MB, free: 10.18 MB / 206.1 MB 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.001873/0.001873, allocations: 63.89 kB / 359.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2528, allocations: 50.55 MB / 410.2 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01158/0.2644, allocations: 10.03 MB / 420.3 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006548/0.271, allocations: 3.4 MB / 423.7 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.272, allocations: 71.81 kB / 423.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008412/0.2804, allocations: 3.853 MB / 427.6 MB, free: 8 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00433/0.2847, allocations: 1.499 MB / 429.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002575/0.2873, allocations: 1.056 MB / 430.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01074/0.2981, allocations: 9.261 MB / 439.4 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02116/0.3192, allocations: 15.81 MB / 455.2 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006584/0.3258, allocations: 5.066 MB / 460.3 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009527/0.3353, allocations: 6.095 MB / 466.4 MB, free: 9.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003603/0.3389, allocations: 1.398 MB / 467.8 MB, free: 7.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004849/0.3438, allocations: 1.664 MB / 469.4 MB, free: 5.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004431/0.3482, allocations: 2.923 MB / 472.4 MB, free: 3.023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009811/0.358, allocations: 5.455 MB / 477.8 MB, free: 13.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02291/0.3809, allocations: 18.91 MB / 496.7 MB, free: 10.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3809, allocations: 0 / 496.7 MB, free: 10.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3809, allocations: 0 / 496.7 MB, free: 10.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003872/0.3813, allocations: 3.938 kB / 496.7 MB, free: 10.58 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.03456/0.4159, allocations: 12.45 MB / 0.4972 GB, free: 14.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.4159, allocations: 8.031 kB / 0.4972 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05072/0.4667, allocations: 8.597 MB / 0.5056 GB, free: 5.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01503/0.4817, allocations: 5.904 MB / 0.5114 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006281/0.4823, allocations: 0.6584 MB / 0.5121 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003063/0.4854, allocations: 0.8632 MB / 0.5129 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03416/0.5195, allocations: 15.98 MB / 0.5285 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002148/0.5197, allocations: 11.95 kB / 0.5285 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00145/0.5212, allocations: 368 kB / 0.5289 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005889/0.5218, allocations: 0.5582 MB / 0.5294 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4028/0.9246, allocations: 15.72 MB / 0.5448 GB, free: 107.4 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05983/0.9844, allocations: 48.65 MB / 0.5923 GB, free: 73.46 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01358/0.998, allocations: 18.84 MB / 0.6107 GB, free: 52.54 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003722/1.002, allocations: 3.238 MB / 0.6138 GB, free: 49.3 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003365/1.002, allocations: 265 kB / 0.6141 GB, free: 49.02 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/1.002, allocations: 90.5 kB / 0.6142 GB, free: 48.93 MB / 462.1 MB Notification: Performance of pre-optimization done (n=468): time 6.131e-06/1.002, allocations: 0 / 0.6142 GB, free: 48.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=468): time 0.01983/1.022, allocations: 11.53 MB / 0.6254 GB, free: 37.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/1.022, allocations: 125.1 kB / 0.6255 GB, free: 37.13 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004346/1.026, allocations: 3.851 MB / 0.6293 GB, free: 33.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004171/1.027, allocations: 101.7 kB / 0.6294 GB, free: 33.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001447/1.028, allocations: 4.044 MB / 0.6333 GB, free: 29.63 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001018/1.029, allocations: 1.687 MB / 0.635 GB, free: 27.96 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001619/1.031, allocations: 1.481 MB / 0.6364 GB, free: 26.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.354e-05/1.031, allocations: 301.1 kB / 0.6367 GB, free: 26.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004044/1.035, allocations: 3.688 MB / 0.6403 GB, free: 22.49 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005066/1.04, allocations: 6.517 MB / 0.6467 GB, free: 14.67 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009625/1.05, allocations: 10.83 MB / 0.6573 GB, free: 2.504 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-05/1.05, allocations: 28 kB / 0.6573 GB, free: 2.477 MB / 462.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02232/1.072, allocations: 11.92 MB / 0.6689 GB, free: 6.48 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.398e-05/1.072, allocations: 44 kB / 0.669 GB, free: 6.438 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001399/1.072, allocations: 96.31 kB / 0.6691 GB, free: 6.344 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005262/1.077, allocations: 1.624 MB / 0.6707 GB, free: 4.699 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006659/1.084, allocations: 1.669 MB / 0.6723 GB, free: 3.027 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02148/1.106, allocations: 17.67 MB / 0.6895 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005616/1.111, allocations: 0.9666 MB / 0.6905 GB, free: 15.55 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009872/1.112, allocations: 360 kB / 0.6908 GB, free: 15.2 MB / 0.4982 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.005924/1.118, allocations: 3.764 MB / 0.6945 GB, free: 11.42 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007857/1.119, allocations: 413.3 kB / 0.6949 GB, free: 11.01 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01589/1.135, allocations: 8.522 MB / 0.7032 GB, free: 2.402 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.046e-05/1.135, allocations: 52 kB / 0.7033 GB, free: 2.352 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.779e-05/1.135, allocations: 12 kB / 0.7033 GB, free: 2.34 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.259e-05/1.135, allocations: 27.91 kB / 0.7033 GB, free: 2.312 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02882/1.164, allocations: 16.74 MB / 0.7197 GB, free: 1.402 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/1.164, allocations: 4 kB / 0.7197 GB, free: 1.398 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003568/1.167, allocations: 0.8581 MB / 0.7205 GB, free: 0.5391 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004935/1.172, allocations: 1.526 MB / 0.722 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003827/1.173, allocations: 99.97 kB / 0.7221 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02178/1.194, allocations: 17.48 MB / 0.7392 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.194, allocations: 0 / 0.7392 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02132/1.216, allocations: 12.21 MB / 0.7511 GB, free: 156 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.21/1.426, allocations: 1.113 MB / 0.7522 GB, free: 185.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001004/1.427, allocations: 86.45 kB / 0.7523 GB, free: 185.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002767/1.43, allocations: 311.3 kB / 0.7526 GB, free: 185.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008022/1.43, allocations: 313.8 kB / 0.7528 GB, free: 185.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000295/1.431, allocations: 137 kB / 0.753 GB, free: 185.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003453/1.434, allocations: 2.578 MB / 0.7555 GB, free: 184.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/1.434, allocations: 0 / 0.7555 GB, free: 184.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006163/1.44, allocations: 2.405 MB / 0.7578 GB, free: 184.8 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.0006638/1.441, allocations: 275.5 kB / 0.7581 GB, free: 184.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0127/1.454, allocations: 8.992 MB / 0.7669 GB, free: 182.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.846e-05/1.454, allocations: 0 / 0.7669 GB, free: 182.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005894/1.46, allocations: 4.169 MB / 0.771 GB, free: 180.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003433/1.463, allocations: 0.7449 MB / 0.7717 GB, free: 180 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02163/1.485, allocations: 17.04 MB / 0.7883 GB, free: 169.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004621/1.489, allocations: 6.046 MB / 0.7942 GB, free: 164.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006123/1.495, allocations: 3.251 MB / 0.7974 GB, free: 162.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/1.496, allocations: 377.7 kB / 0.7978 GB, free: 162.2 MB / 0.545 GB Notification: Performance of SimCode: time 9.82e-07/1.496, allocations: 0 / 0.7978 GB, free: 162.2 MB / 0.545 GB Notification: Performance of Templates: time 0.0891/1.586, allocations: 66.25 MB / 0.8625 GB, free: 98.52 MB / 0.545 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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) Reference file matches