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.001149/0.001149, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001247/0.001247, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 64.64 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1138, allocations: 50.53 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01103/0.1248, allocations: 9.997 MB / 368.9 MB, free: 3.262 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2078/0.3327, allocations: 3.388 MB / 372.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/0.3346, allocations: 71.56 kB / 372.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008719/0.3433, allocations: 3.819 MB / 376.2 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005323/0.3487, allocations: 1.487 MB / 377.7 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002857/0.3515, allocations: 1.067 MB / 378.7 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01118/0.3627, allocations: 9.249 MB / 388 MB, free: 5.816 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02576/0.3885, allocations: 20.43 MB / 408.4 MB, free: 8.281 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007453/0.396, allocations: 5.059 MB / 413.5 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009437/0.4055, allocations: 6.111 MB / 419.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003476/0.409, allocations: 1.398 MB / 421 MB, free: 12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006059/0.4151, allocations: 1.651 MB / 422.6 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004913/0.42, allocations: 2.915 MB / 425.6 MB, free: 7.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01236/0.4324, allocations: 5.455 MB / 431 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02078/0.4533, allocations: 18.86 MB / 449.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.4533, allocations: 0 / 449.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4533, allocations: 0 / 449.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004339/0.4538, allocations: 0 / 449.9 MB, free: 15.5 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.03653/0.4903, allocations: 12.27 MB / 462.1 MB, free: 3.234 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.4904, allocations: 8.031 kB / 462.1 MB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04898/0.5393, allocations: 8.546 MB / 470.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01536/0.5547, allocations: 5.891 MB / 476.6 MB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007239/0.5555, allocations: 0.6626 MB / 477.2 MB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004629/0.5602, allocations: 0.8682 MB / 478.1 MB, free: 3.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04007/0.6003, allocations: 15.98 MB / 494.1 MB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002808/0.6006, allocations: 11.91 kB / 494.1 MB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002121/0.6027, allocations: 368.4 kB / 494.5 MB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005619/0.6033, allocations: 0.5582 MB / 495 MB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03219/0.6355, allocations: 15.72 MB / 0.4988 GB, free: 2.668 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4723/1.108, allocations: 48.52 MB / 0.5462 GB, free: 109.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01633/1.124, allocations: 19.32 MB / 0.565 GB, free: 96.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00432/1.129, allocations: 3.588 MB / 0.5685 GB, free: 96.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004393/1.129, allocations: 261.8 kB / 0.5688 GB, free: 95.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.3e-05/1.129, allocations: 92.17 kB / 0.5689 GB, free: 95.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 6.262e-06/1.129, allocations: 0 / 0.5689 GB, free: 95.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.01975/1.149, allocations: 11.55 MB / 0.5801 GB, free: 92.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/1.149, allocations: 125.4 kB / 0.5803 GB, free: 91.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005704/1.155, allocations: 3.849 MB / 0.584 GB, free: 90.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008618/1.156, allocations: 100.8 kB / 0.5841 GB, free: 90.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001976/1.158, allocations: 3.888 MB / 0.5879 GB, free: 87.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001563/1.159, allocations: 1.615 MB / 0.5895 GB, free: 86.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002073/1.161, allocations: 1.468 MB / 0.5909 GB, free: 85.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.813e-05/1.161, allocations: 301.1 kB / 0.5912 GB, free: 85.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00501/1.166, allocations: 3.693 MB / 0.5948 GB, free: 83.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006425/1.173, allocations: 6.516 MB / 0.6012 GB, free: 77.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/1.183, allocations: 10.83 MB / 0.6118 GB, free: 67.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.18e-05/1.183, allocations: 28 kB / 0.6118 GB, free: 67.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01811/1.201, allocations: 11.95 MB / 0.6234 GB, free: 55.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.769e-05/1.201, allocations: 44 kB / 0.6235 GB, free: 55.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001323/1.202, allocations: 92 kB / 0.6236 GB, free: 55.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004292/1.206, allocations: 1.631 MB / 0.6252 GB, free: 53.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0061/1.212, allocations: 1.665 MB / 0.6268 GB, free: 51.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0154/1.227, allocations: 17.66 MB / 0.644 GB, free: 33.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005677/1.233, allocations: 0.9523 MB / 0.645 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001593/1.235, allocations: 364 kB / 0.6453 GB, free: 32.18 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.006328/1.241, allocations: 3.756 MB / 0.649 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000941/1.242, allocations: 391.1 kB / 0.6494 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/1.255, allocations: 8.569 MB / 0.6577 GB, free: 19.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-05/1.255, allocations: 48 kB / 0.6578 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.638e-05/1.255, allocations: 12.94 kB / 0.6578 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.502e-05/1.255, allocations: 23.91 kB / 0.6578 GB, free: 19.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0289/1.284, allocations: 16.79 MB / 0.6742 GB, free: 2.453 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/1.284, allocations: 3.984 kB / 0.6742 GB, free: 2.449 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003355/1.287, allocations: 0.87 MB / 0.6751 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004097/1.292, allocations: 1.511 MB / 0.6765 GB, free: 48 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009561/1.293, allocations: 108.5 kB / 0.6766 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01951/1.312, allocations: 17.44 MB / 0.6937 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/1.312, allocations: 7.938 kB / 0.6937 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02036/1.332, allocations: 12.24 MB / 0.7056 GB, free: 1.219 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003496/1.336, allocations: 1.1 MB / 0.7067 GB, free: 96 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000931/1.337, allocations: 87.98 kB / 0.7068 GB, free: 8 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2581/1.595, allocations: 302.7 kB / 0.7071 GB, free: 144.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001124/1.596, allocations: 323.1 kB / 0.7074 GB, free: 144.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003674/1.597, allocations: 137.4 kB / 0.7075 GB, free: 144.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00549/1.602, allocations: 2.575 MB / 0.71 GB, free: 143.9 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.5e-07/1.602, allocations: 1.281 kB / 0.71 GB, free: 143.9 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.009515/1.612, allocations: 2.384 MB / 0.7124 GB, free: 143.8 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.0008019/1.612, allocations: 268.6 kB / 0.7126 GB, free: 143.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01627/1.629, allocations: 9.379 MB / 0.7218 GB, free: 141.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.036e-06/1.629, allocations: 1.281 kB / 0.7218 GB, free: 141.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007226/1.636, allocations: 4.484 MB / 0.7262 GB, free: 139.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003599/1.64, allocations: 0.7353 MB / 0.7269 GB, free: 139.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02852/1.668, allocations: 16.83 MB / 0.7433 GB, free: 132.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006806/1.675, allocations: 6.052 MB / 0.7492 GB, free: 130.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.007016/1.682, allocations: 3.251 MB / 0.7524 GB, free: 129.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/1.683, allocations: 374.3 kB / 0.7527 GB, free: 129.3 MB / 478.1 MB Notification: Performance of SimCode: time 1.713e-06/1.683, allocations: 4 kB / 0.7527 GB, free: 129.3 MB / 478.1 MB Notification: Performance of Templates: time 0.09406/1.777, allocations: 62.75 MB / 0.814 GB, free: 69.25 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 cvode -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