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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=20000,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=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001478/0.001478, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001793/0.001793, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 59.28 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1113, allocations: 50.54 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01122/0.1225, allocations: 9.99 MB / 368.9 MB, free: 3.277 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1504/0.2729, allocations: 3.385 MB / 372.3 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001571/0.2745, allocations: 71.75 kB / 372.4 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007547/0.2821, allocations: 3.834 MB / 376.2 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003805/0.2859, allocations: 1.486 MB / 377.7 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.288, allocations: 1.057 MB / 378.7 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008752/0.2967, allocations: 9.259 MB / 388 MB, free: 5.867 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02112/0.3179, allocations: 20.44 MB / 408.4 MB, free: 8.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006641/0.3245, allocations: 5.064 MB / 413.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008295/0.3329, allocations: 6.098 MB / 419.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002251/0.3351, allocations: 1.395 MB / 421 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00358/0.3387, allocations: 1.654 MB / 422.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002287/0.341, allocations: 2.919 MB / 425.6 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00637/0.3474, allocations: 5.45 MB / 431 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01438/0.3618, allocations: 18.86 MB / 449.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3618, allocations: 0 / 449.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3619, allocations: 0 / 449.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002478/0.3621, allocations: 0 / 449.9 MB, free: 15.54 MB / 366.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.02973/0.3918, allocations: 12.27 MB / 462.2 MB, free: 3.281 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.3919, allocations: 8.031 kB / 462.2 MB, free: 3.273 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04696/0.4389, allocations: 8.55 MB / 470.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01538/0.4543, allocations: 5.883 MB / 476.6 MB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005719/0.4549, allocations: 0.6607 MB / 477.3 MB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003064/0.4579, allocations: 0.8675 MB / 478.1 MB, free: 3.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03184/0.4898, allocations: 15.99 MB / 494.1 MB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002798/0.4901, allocations: 11.89 kB / 494.1 MB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002313/0.4924, allocations: 364.9 kB / 494.5 MB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005515/0.493, allocations: 0.5543 MB / 495 MB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02974/0.5227, allocations: 15.72 MB / 0.4988 GB, free: 2.715 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3781/0.9009, allocations: 48.53 MB / 0.5462 GB, free: 109.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01622/0.9171, allocations: 19.31 MB / 0.565 GB, free: 96.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004326/0.9215, allocations: 3.589 MB / 0.5685 GB, free: 96.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004298/0.9219, allocations: 264.6 kB / 0.5688 GB, free: 95.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.705e-05/0.922, allocations: 85.41 kB / 0.5689 GB, free: 95.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 6.562e-06/0.922, allocations: 0 / 0.5689 GB, free: 95.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02029/0.9423, allocations: 11.55 MB / 0.5801 GB, free: 91.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.9424, allocations: 128.5 kB / 0.5803 GB, free: 91.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005308/0.9477, allocations: 3.844 MB / 0.584 GB, free: 90.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005002/0.9482, allocations: 104.7 kB / 0.5841 GB, free: 90.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001719/0.95, allocations: 3.89 MB / 0.5879 GB, free: 87.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001243/0.9512, allocations: 1.615 MB / 0.5895 GB, free: 86.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002249/0.9535, allocations: 1.464 MB / 0.5909 GB, free: 85.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.014e-05/0.9535, allocations: 305.1 kB / 0.5912 GB, free: 85.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004245/0.9578, allocations: 3.691 MB / 0.5948 GB, free: 83.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005607/0.9634, allocations: 6.523 MB / 0.6012 GB, free: 77.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/0.9736, allocations: 10.83 MB / 0.6118 GB, free: 67.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.501e-05/0.9737, allocations: 28.94 kB / 0.6118 GB, free: 67.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01848/0.9922, allocations: 11.95 MB / 0.6235 GB, free: 55.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.9923, allocations: 48 kB / 0.6235 GB, free: 55.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/0.9924, allocations: 92 kB / 0.6236 GB, free: 55.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004593/0.997, allocations: 1.621 MB / 0.6252 GB, free: 53.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005872/1.003, allocations: 1.669 MB / 0.6268 GB, free: 52.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01584/1.019, allocations: 17.66 MB / 0.6441 GB, free: 33.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005206/1.024, allocations: 0.9576 MB / 0.645 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001157/1.025, allocations: 364 kB / 0.6453 GB, free: 32.21 MB / 446.1 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.005884/1.031, allocations: 3.754 MB / 0.649 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009309/1.032, allocations: 391.1 kB / 0.6494 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/1.045, allocations: 8.569 MB / 0.6577 GB, free: 19.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.567e-05/1.045, allocations: 52 kB / 0.6578 GB, free: 19.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.342e-05/1.045, allocations: 12 kB / 0.6578 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.95e-05/1.045, allocations: 23.91 kB / 0.6578 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02729/1.072, allocations: 16.79 MB / 0.6742 GB, free: 2.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/1.072, allocations: 4 kB / 0.6742 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003229/1.076, allocations: 0.8581 MB / 0.6751 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00425/1.08, allocations: 1.519 MB / 0.6765 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005295/1.08, allocations: 100 kB / 0.6766 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01914/1.1, allocations: 17.45 MB / 0.6937 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/1.1, allocations: 4 kB / 0.6937 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02007/1.12, allocations: 12.24 MB / 0.7056 GB, free: 1.246 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003176/1.123, allocations: 1.1 MB / 0.7067 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001082/1.124, allocations: 88 kB / 0.7068 GB, free: 36 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1711/1.295, allocations: 298.3 kB / 0.7071 GB, free: 144.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009506/1.296, allocations: 327.9 kB / 0.7074 GB, free: 144.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003136/1.296, allocations: 133.6 kB / 0.7075 GB, free: 144.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003892/1.3, allocations: 2.577 MB / 0.71 GB, free: 144.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.3, allocations: 0.5312 kB / 0.71 GB, free: 144.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006554/1.307, allocations: 2.376 MB / 0.7124 GB, free: 144 MB / 478.1 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.0005916/1.307, allocations: 278.2 kB / 0.7126 GB, free: 143.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01365/1.321, allocations: 9.382 MB / 0.7218 GB, free: 141.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.321, allocations: 0 / 0.7218 GB, free: 141.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006278/1.327, allocations: 4.478 MB / 0.7262 GB, free: 139.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003139/1.331, allocations: 0.7356 MB / 0.7269 GB, free: 139.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02117/1.352, allocations: 16.82 MB / 0.7433 GB, free: 132.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004627/1.356, allocations: 6.045 MB / 0.7492 GB, free: 130.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006094/1.363, allocations: 3.254 MB / 0.7524 GB, free: 129.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/1.364, allocations: 374.5 kB / 0.7527 GB, free: 129.2 MB / 478.1 MB Notification: Performance of SimCode: time 9.71e-07/1.364, allocations: 4 kB / 0.7527 GB, free: 129.2 MB / 478.1 MB Notification: Performance of Templates: time 0.0807/1.444, allocations: 62.75 MB / 0.814 GB, free: 69.29 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches